diff options
author | rinpatch <rinpatch@sdf.org> | 2019-08-07 00:58:48 +0300 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2019-08-14 01:50:22 +0000 |
commit | f0c32364b7678ce9c234f2df994b9107c922a23d (patch) | |
tree | 893a44ed1b595ef0bc537f9dfe5dee0875de8154 | |
parent | e5161961bdf41a0c0a6f051940b31c0b4f258473 (diff) | |
download | pleroma-f0c32364b7678ce9c234f2df994b9107c922a23d.tar.gz |
OStatus tests: stop relying on embedded objects
-rw-r--r-- | test/web/ostatus/ostatus_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/ostatus/ostatus_test.exs b/test/web/ostatus/ostatus_test.exs index 77bccdaa1..41cf188ca 100644 --- a/test/web/ostatus/ostatus_test.exs +++ b/test/web/ostatus/ostatus_test.exs @@ -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 |