OStatus tests: stop relying on embedded objects

This commit is contained in:
rinpatch 2019-08-07 00:58:48 +03:00
parent 32018a4ee0
commit 5329e84d62

View File

@ -199,7 +199,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