Convert to an Plug called InboxGuard

This commit is contained in:
Mark Felder 2024-08-29 14:16:59 -04:00
commit 16a9b34876
5 changed files with 91 additions and 28 deletions

View file

@ -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