tests: federator: fix formatting
This commit is contained in:
parent
dfcfb184b1
commit
e10f839e9b
@ -73,7 +73,7 @@ test "successfully processes incoming AP docs with correct origin" do
|
|||||||
"type" => "Note",
|
"type" => "Note",
|
||||||
"content" => "hi world!",
|
"content" => "hi world!",
|
||||||
"id" => "http://mastodon.example.org/users/admin/objects/1",
|
"id" => "http://mastodon.example.org/users/admin/objects/1",
|
||||||
"attributedTo" => "http://mastodon.example.org/users/admin",
|
"attributedTo" => "http://mastodon.example.org/users/admin"
|
||||||
},
|
},
|
||||||
"to" => ["https://www.w3.org/ns/activitystreams#Public"]
|
"to" => ["https://www.w3.org/ns/activitystreams#Public"]
|
||||||
}
|
}
|
||||||
@ -91,7 +91,7 @@ test "rejects incoming AP docs with incorrect origin" do
|
|||||||
"type" => "Note",
|
"type" => "Note",
|
||||||
"content" => "hi world!",
|
"content" => "hi world!",
|
||||||
"id" => "http://mastodon.example.org/users/admin/objects/1",
|
"id" => "http://mastodon.example.org/users/admin/objects/1",
|
||||||
"attributedTo" => "http://mastodon.example.org/users/admin",
|
"attributedTo" => "http://mastodon.example.org/users/admin"
|
||||||
},
|
},
|
||||||
"to" => ["https://www.w3.org/ns/activitystreams#Public"]
|
"to" => ["https://www.w3.org/ns/activitystreams#Public"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user