OStatus tests: stop relying on embedded objects

This commit is contained in:
rinpatch 2019-08-07 00:58:48 +03:00 committed by Ariadne Conill
parent e5161961bd
commit f0c32364b7
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ test "handle incoming retweets - GS, subscription - local message" do
assert retweeted_activity.data["type"] == "Create"
assert retweeted_activity.data["actor"] == user.ap_id
assert retweeted_activity.local
assert retweeted_activity.data["object"]["announcement_count"] == 1
assert Object.normalize(retweeted_activity).data["announcement_count"] == 1
end
test "handle incoming retweets - Mastodon, salmon" do