Merge commit 'ffeb5da9912a3b7db0deb8aec429e661ef609c59' into glitch-soc/merge-upstream
This commit is contained in:
commit
3f166bb068
68 files changed
+192
-24
No files matched your search
@@ -98,7 +98,7 @@ RSpec.describe 'Search API' do
|
||||
context 'when search raises syntax error' do
|
||||
before { allow(Search).to receive(:new).and_raise(Mastodon::SyntaxError) }
|
||||
|
||||
it 'returns http unprocessable_entity' do
|
||||
it 'returns http unprocessable_content' do
|
||||
get '/api/v2/search', headers: headers, params: params
|
||||
|
||||
expect(response).to have_http_status(422)
|
||||
|
||||
Reference in new issue
Block a user