summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-08-29 14:16:59 -0400
committerMark Felder <feld@feld.me>2024-08-29 16:05:36 -0400
commit16a9b34876f3a9289c02253e802bffdac4901ac0 (patch)
treea2a7bf11064435de1f949616fb7402249ce27fa0 /test
parent06deacd58e6aa676847530f24c6799162ed06777 (diff)
downloadpleroma-16a9b34876f3a9289c02253e802bffdac4901ac0.tar.gz
pleroma-16a9b34876f3a9289c02253e802bffdac4901ac0.zip
Convert to an Plug called InboxGuard
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/activity_pub/activity_pub_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/web/activity_pub/activity_pub_controller_test.exs b/test/pleroma/web/activity_pub/activity_pub_controller_test.exs
index b9067533c..1b959f324 100644
--- a/test/pleroma/web/activity_pub/activity_pub_controller_test.exs
+++ b/test/pleroma/web/activity_pub/activity_pub_controller_test.exs
@@ -700,7 +700,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do
|> assign(:valid_signature, false)
|> put_req_header("content-type", "application/activity+json")
|> post("/inbox", params)
- |> json_response(200)
+ |> json_response(400)
assert all_enqueued() == []
end