summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/activity_pub_controller_test.exs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-12-05 02:50:38 +0300
committerrinpatch <rinpatch@sdf.org>2019-12-05 21:45:57 +0300
commit9f99640cfc81f28c0b6cdb5f6ef065b3e46f5f23 (patch)
tree7c3a223f274994f4f22bf9aafd88b78d50dcc9ec /test/web/activity_pub/activity_pub_controller_test.exs
parent228bf4d214abe3bb62c52128d3bc145e396b174d (diff)
downloadpleroma-9f99640cfc81f28c0b6cdb5f6ef065b3e46f5f23.tar.gz
pleroma-9f99640cfc81f28c0b6cdb5f6ef065b3e46f5f23.zip
ActivityPub: Fix deletes being exempt from MRF
Closes #1461
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