summaryrefslogtreecommitdiff
path: root/test/instance_static/emoji
diff options
context:
space:
mode:
authorEkaterina Vaartis <vaartis@cock.li>2019-08-12 10:35:34 +0300
committerEkaterina Vaartis <vaartis@cock.li>2019-09-19 00:16:33 +0300
commit7e4c8b56eab0e92b98efbf27e373d68758de540f (patch)
tree10e5c08c7c9693c0c7c56b3f4c382a2f6ae51331 /test/instance_static/emoji
parent7fb7dd9e0e0135af467477a66692990bdaecdbe9 (diff)
downloadpleroma-7e4c8b56eab0e92b98efbf27e373d68758de540f.tar.gz
pleroma-7e4c8b56eab0e92b98efbf27e373d68758de540f.zip
Add tests for emoji pack sharing
Diffstat (limited to 'test/instance_static/emoji')
-rw-r--r--test/instance_static/emoji/test_pack/blank.pngbin0 -> 95 bytes
-rw-r--r--test/instance_static/emoji/test_pack/pack.yml13
-rw-r--r--test/instance_static/emoji/test_pack_nonshared/pack.yml13
3 files changed, 26 insertions, 0 deletions
diff --git a/test/instance_static/emoji/test_pack/blank.png b/test/instance_static/emoji/test_pack/blank.png
new file mode 100644
index 000000000..8f50fa023
--- /dev/null
+++ b/test/instance_static/emoji/test_pack/blank.png
Binary files differ
diff --git a/test/instance_static/emoji/test_pack/pack.yml b/test/instance_static/emoji/test_pack/pack.yml
new file mode 100644
index 000000000..851b06d17
--- /dev/null
+++ b/test/instance_static/emoji/test_pack/pack.yml
@@ -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
diff --git a/test/instance_static/emoji/test_pack_nonshared/pack.yml b/test/instance_static/emoji/test_pack_nonshared/pack.yml
new file mode 100644
index 000000000..45c340415
--- /dev/null
+++ b/test/instance_static/emoji/test_pack_nonshared/pack.yml
@@ -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