Fix min_id
and max_id
causing error in search API (#32857)
This commit is contained in:
parent
9a46329fbd
commit
911d7dbbf6
3 changed files with 9 additions and 14 deletions
|
@ -34,7 +34,7 @@ RSpec.describe SearchQueryTransformer do
|
|||
let(:query) { "#{operator}:\"abc\"" }
|
||||
|
||||
it 'raises an exception' do
|
||||
expect { subject }.to raise_error(Mastodon::FilterValidationError, 'Invalid date abc')
|
||||
expect { subject }.to raise_error(Date::Error)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue