Convert to an Plug called InboxGuard
This commit is contained in:
parent
06deacd58e
commit
16a9b34876
5 changed files with 91 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue