summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-08-07 00:36:13 +0300
committerAriadne Conill <ariadne@dereferenced.org>2019-08-14 01:50:22 +0000
commite5161961bdf41a0c0a6f051940b31c0b4f258473 (patch)
treedbbb2103104478ccb2c78dc18a884a15ef8f18ec
parent1807d3a115edf12510b2ca735c7aea3d3f57e5f8 (diff)
ActivityPub tests: remove assertions of embedded object being updated,
because the objects are no longer supposed to be embedded
-rw-r--r--test/web/activity_pub/activity_pub_test.exs3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs
index 76586ee4a..97c946924 100644
--- a/test/web/activity_pub/activity_pub_test.exs
+++ b/test/web/activity_pub/activity_pub_test.exs
@@ -679,9 +679,6 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
assert like_activity == same_like_activity
assert object.data["likes"] == [user.ap_id]
- [note_activity] = Activity.get_all_create_by_object_ap_id(object.data["id"])
- assert note_activity.data["object"]["like_count"] == 1
-
{:ok, _like_activity, object} = ActivityPub.like(user_two, object)
assert object.data["like_count"] == 2
end