forked from AkkomaGang/akkoma
test: fix more test defects
This commit is contained in:
parent
d9cb081f07
commit
9c8adfb6ef
3 changed files with 5 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"@context": "https://www.w3.org/ns/activitystreams",
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
"actor": "https://mastodon.example.org/users/admin",
|
"actor": "http://mastodon.example.org/users/admin",
|
||||||
"attachment": [],
|
"attachment": [],
|
||||||
"attributedTo": "https://mastodon.example.org/users/admin",
|
"attributedTo": "http://mastodon.example.org/users/admin",
|
||||||
"content": "<p>this post was not actually written by Haelwenn</p>",
|
"content": "<p>this post was not actually written by Haelwenn</p>",
|
||||||
"id": "https://info.pleroma.site/activity.json",
|
"id": "https://info.pleroma.site/activity.json",
|
||||||
"published": "2018-09-01T22:15:00Z",
|
"published": "2018-09-01T22:15:00Z",
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"@context": "https://www.w3.org/ns/activitystreams",
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
"attributedTo": "https://info.pleroma.site/actor.json",
|
"attributedTo": "https://info.pleroma.site/actor.json",
|
||||||
"attachment": [],
|
"attachment": [],
|
||||||
"actor": "https://mastodon.example.org/users/admin",
|
"actor": "http://mastodon.example.org/users/admin",
|
||||||
"content": "<p>this post was not actually written by Haelwenn</p>",
|
"content": "<p>this post was not actually written by Haelwenn</p>",
|
||||||
"id": "https://info.pleroma.site/activity2.json",
|
"id": "https://info.pleroma.site/activity2.json",
|
||||||
"published": "2018-09-01T22:15:00Z",
|
"published": "2018-09-01T22:15:00Z",
|
||||||
|
|
|
@ -874,8 +874,8 @@ test "it rejects objects with a bogus origin" do
|
||||||
test "it rejects activities which reference objects with bogus origins" do
|
test "it rejects activities which reference objects with bogus origins" do
|
||||||
data = %{
|
data = %{
|
||||||
"@context" => "https://www.w3.org/ns/activitystreams",
|
"@context" => "https://www.w3.org/ns/activitystreams",
|
||||||
"id" => "https://mastodon.example.org/users/admin/activities/1234",
|
"id" => "http://mastodon.example.org/users/admin/activities/1234",
|
||||||
"actor" => "https://mastodon.example.org/users/admin",
|
"actor" => "http://mastodon.example.org/users/admin",
|
||||||
"to" => ["https://www.w3.org/ns/activitystreams#Public"],
|
"to" => ["https://www.w3.org/ns/activitystreams#Public"],
|
||||||
"object" => "https://info.pleroma.site/activity.json",
|
"object" => "https://info.pleroma.site/activity.json",
|
||||||
"type" => "Announce"
|
"type" => "Announce"
|
||||||
|
|
Loading…
Reference in a new issue