0
0
Fork 0

Do not try fetching keys of unknown accounts on a Delete from them (#10326)

This commit is contained in:
ThibG 2019-03-20 17:20:16 +01:00 committed by Eugen Rochko
parent 158c31b9df
commit 66d9452092
2 changed files with 15 additions and 5 deletions

View file

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