Fix min_id and max_id causing error in search API (#32857)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user