diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-11-17 20:31:20 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-11-17 20:31:20 +0000 |
commit | 55640c4804d1fe1c39b155f8acd5f820425fb7f6 (patch) | |
tree | dcf20311284ef4737def960bcb1e46a374cfb17b /test/fixtures/httpoison_mock | |
parent | dc1d8e13b483d6e5df4ea6432aa3e37971bb3fb1 (diff) | |
download | pleroma-55640c4804d1fe1c39b155f8acd5f820425fb7f6.tar.gz pleroma-55640c4804d1fe1c39b155f8acd5f820425fb7f6.zip |
tests: add a test to verify the general fake direction protection works in all cases
Diffstat (limited to 'test/fixtures/httpoison_mock')
-rw-r--r-- | test/fixtures/httpoison_mock/https__info.pleroma.site_activity4.json | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/fixtures/httpoison_mock/https__info.pleroma.site_activity4.json b/test/fixtures/httpoison_mock/https__info.pleroma.site_activity4.json new file mode 100644 index 000000000..57a73b12a --- /dev/null +++ b/test/fixtures/httpoison_mock/https__info.pleroma.site_activity4.json @@ -0,0 +1,13 @@ +{ + "@context": "https://www.w3.org/ns/activitystreams", + "attributedTo": "http://mastodon.example.org/users/admin", + "attachment": [], + "content": "<p>this post was not actually written by Haelwenn</p>", + "id": "http://mastodon.example.org/users/admin/activities/1234", + "published": "2018-09-01T22:15:00Z", + "tag": [], + "to": [ + "https://www.w3.org/ns/activitystreams#Public" + ], + "type": "Note" +} |