aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-08-07 00:36:13 +0300
committerrinpatch <rinpatch@sdf.org>2019-08-07 00:36:13 +0300
commit32018a4ee0fab43fc0982e6428d3fb93e5ac3c47 (patch)
tree19a4ee0dddde66093dbd44baf701abbd9104229f /test
parent03ad31328c264a1154b7d3b5697b429452a1e6b0 (diff)
downloadpleroma-32018a4ee0fab43fc0982e6428d3fb93e5ac3c47.tar.gz
ActivityPub tests: remove assertions of embedded object being updated,
because the objects are no longer supposed to be embedded
Diffstat (limited to 'test')
-rw-r--r--test/web/activity_pub/activity_pub_test.exs6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs
index 3d9a678dd..d723f331f 100644
--- a/test/web/activity_pub/activity_pub_test.exs
+++ b/test/web/activity_pub/activity_pub_test.exs
@@ -677,14 +677,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
assert object.data["likes"] == [user.ap_id]
assert object.data["like_count"] == 1
- [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
-
- [note_activity] = Activity.get_all_create_by_object_ap_id(object.data["id"])
- assert note_activity.data["object"]["like_count"] == 2
end
end