Add tests for emoji pack sharing
This commit is contained in:
parent
7fb7dd9e0e
commit
7e4c8b56ea
5 changed files with 126 additions and 1 deletions
BIN
test/instance_static/emoji/test_pack/blank.png
Normal file
BIN
test/instance_static/emoji/test_pack/blank.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 95 B |
13
test/instance_static/emoji/test_pack/pack.yml
Normal file
13
test/instance_static/emoji/test_pack/pack.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
pack:
|
||||
license: Test license
|
||||
homepage: https://pleroma.social
|
||||
description: Test description
|
||||
|
||||
fallblack-src: https://example.com
|
||||
# SHA256 of the fallback-src
|
||||
fallback-src-sha256: 65CDCCBCA9388A68023519F997367783BE69ED42864398CAC568E56F65CE0E75
|
||||
|
||||
share-files: true
|
||||
|
||||
files:
|
||||
blank: blank.png
|
||||
13
test/instance_static/emoji/test_pack_nonshared/pack.yml
Normal file
13
test/instance_static/emoji/test_pack_nonshared/pack.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
pack:
|
||||
license: Test license
|
||||
homepage: https://pleroma.social
|
||||
description: Test description
|
||||
|
||||
fallblack-src: https://example.com
|
||||
# SHA256 of the fallback-src
|
||||
fallback-src-sha256: 65CDCCBCA9388A68023519F997367783BE69ED42864398CAC568E56F65CE0E75
|
||||
|
||||
share-files: false
|
||||
|
||||
files:
|
||||
blank: blank.png
|
||||
Loading…
Add table
Add a link
Reference in a new issue