summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/activity_pub_controller_test.exs
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-12-08 21:25:26 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-12-08 21:25:26 +0300
commit95e6a2acd9b18356e942172aa416d42031e8a17f (patch)
treed5093f04fc555435f022c9b3b1f7ce6e945f0199 /test/web/activity_pub/activity_pub_controller_test.exs
parent3fe7a1fd35a9ca81b158eff6dbcc25ca48cbf96d (diff)
parentaf5fef1f228a1781d7d9cad490d3b3a783389f5e (diff)
downloadpleroma-95e6a2acd9b18356e942172aa416d42031e8a17f.tar.gz
pleroma-95e6a2acd9b18356e942172aa416d42031e8a17f.zip
Merge branch 'develop' into issue/1342
Diffstat (limited to 'test/web/activity_pub/activity_pub_controller_test.exs')
-rw-r--r--test/web/activity_pub/activity_pub_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/activity_pub/activity_pub_controller_test.exs b/test/web/activity_pub/activity_pub_controller_test.exs
index 1aa73d75c..ba2ce1dd9 100644
--- a/test/web/activity_pub/activity_pub_controller_test.exs
+++ b/test/web/activity_pub/activity_pub_controller_test.exs
@@ -298,7 +298,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do
assert json_response(conn1, :ok)
assert Enum.any?(conn1.resp_headers, &(&1 == {"x-cache", "MISS from Pleroma"}))
- Activity.delete_by_ap_id(activity.object.data["id"])
+ Activity.delete_all_by_object_ap_id(activity.object.data["id"])
conn2 =
conn