Do not try fetching keys of unknown accounts on a Delete from them (#10326)
This commit is contained in:
parent
158c31b9df
commit
66d9452092
2 changed files with 15 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue