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

View file

@ -196,7 +196,7 @@ defmodule Pleroma.Web.OStatusTest 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