diff options
author | ThibG <thib@sitedethib.com> | 2019-03-20 17:20:16 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-20 17:20:16 +0100 |
commit | 66d945209278c9344d503fe4e7a58d5c6f040e50 (patch) | |
tree | e6d83fb7c474e7542afb2ef54a9bfd8d1f6a6ea1 /spec/controllers | |
parent | 158c31b9df538691666e5b91f48a0afecd2985fe (diff) |
Do not try fetching keys of unknown accounts on a Delete from them (#10326)
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/activitypub/inboxes_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/activitypub/inboxes_controller_spec.rb b/spec/controllers/activitypub/inboxes_controller_spec.rb index 4055d9342..eab4b8c3e 100644 --- a/spec/controllers/activitypub/inboxes_controller_spec.rb +++ b/spec/controllers/activitypub/inboxes_controller_spec.rb @@ -10,7 +10,7 @@ RSpec.describe ActivityPub::InboxesController, type: :controller do Fabricate(:account) end - post :create + post :create, body: '{}' expect(response).to have_http_status(202) end end @@ -21,7 +21,7 @@ RSpec.describe ActivityPub::InboxesController, type: :controller do false end - post :create + post :create, body: '{}' expect(response).to have_http_status(401) end end |