diff options
Diffstat (limited to 'test/instance_static')
| -rw-r--r-- | test/instance_static/add/shortcode.png | bin | 0 -> 95 bytes | |||
| -rw-r--r-- | test/instance_static/emoji/pack_bad_sha/blank.png | bin | 0 -> 95 bytes | |||
| -rw-r--r-- | test/instance_static/emoji/pack_bad_sha/pack.json | 13 | ||||
| -rw-r--r-- | test/instance_static/emoji/pack_bad_sha/pack_bad_sha.zip | bin | 0 -> 256 bytes | |||
| -rw-r--r-- | test/instance_static/emoji/test_pack/pack.json | 14 | ||||
| -rw-r--r-- | test/instance_static/emoji/test_pack_nonshared/pack.json | 5 | 
6 files changed, 20 insertions, 12 deletions
| diff --git a/test/instance_static/add/shortcode.png b/test/instance_static/add/shortcode.pngBinary files differ new file mode 100644 index 000000000..8f50fa023 --- /dev/null +++ b/test/instance_static/add/shortcode.png diff --git a/test/instance_static/emoji/pack_bad_sha/blank.png b/test/instance_static/emoji/pack_bad_sha/blank.pngBinary files differ new file mode 100644 index 000000000..8f50fa023 --- /dev/null +++ b/test/instance_static/emoji/pack_bad_sha/blank.png diff --git a/test/instance_static/emoji/pack_bad_sha/pack.json b/test/instance_static/emoji/pack_bad_sha/pack.json new file mode 100644 index 000000000..35caf4298 --- /dev/null +++ b/test/instance_static/emoji/pack_bad_sha/pack.json @@ -0,0 +1,13 @@ +{ +    "pack": { +        "license": "Test license", +        "homepage": "https://pleroma.social", +        "description": "Test description", +        "can-download": true, +        "share-files": true, +        "download-sha256": "57482F30674FD3DE821FF48C81C00DA4D4AF1F300209253684ABA7075E5FC238" +    }, +    "files": { +        "blank": "blank.png" +    } +}
\ No newline at end of file diff --git a/test/instance_static/emoji/pack_bad_sha/pack_bad_sha.zip b/test/instance_static/emoji/pack_bad_sha/pack_bad_sha.zipBinary files differ new file mode 100644 index 000000000..148446c64 --- /dev/null +++ b/test/instance_static/emoji/pack_bad_sha/pack_bad_sha.zip diff --git a/test/instance_static/emoji/test_pack/pack.json b/test/instance_static/emoji/test_pack/pack.json index 5a8ee75f9..481891b08 100644 --- a/test/instance_static/emoji/test_pack/pack.json +++ b/test/instance_static/emoji/test_pack/pack.json @@ -1,13 +1,11 @@  { +    "files": { +        "blank": "blank.png" +    },      "pack": { -        "license": "Test license", -        "homepage": "https://pleroma.social",          "description": "Test description", - +        "homepage": "https://pleroma.social", +        "license": "Test license",          "share-files": true -    }, - -    "files": { -        "blank": "blank.png"      } -} +}
\ No newline at end of file diff --git a/test/instance_static/emoji/test_pack_nonshared/pack.json b/test/instance_static/emoji/test_pack_nonshared/pack.json index b96781f81..93d643a5f 100644 --- a/test/instance_static/emoji/test_pack_nonshared/pack.json +++ b/test/instance_static/emoji/test_pack_nonshared/pack.json @@ -3,14 +3,11 @@          "license": "Test license",          "homepage": "https://pleroma.social",          "description": "Test description", -          "fallback-src": "https://nonshared-pack",          "fallback-src-sha256": "74409E2674DAA06C072729C6C8426C4CB3B7E0B85ED77792DB7A436E11D76DAF", -          "share-files": false      }, -      "files": {          "blank": "blank.png"      } -} +}
\ No newline at end of file | 
