tests: federator: fix formatting

This commit is contained in:
William Pitcock 2018-11-17 21:41:08 +00:00
parent dfcfb184b1
commit e10f839e9b

View File

@ -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"]
} }