0
0
Fork 0

Fix min_id and max_id causing error in search API (#32857)

This commit is contained in:
Eugen Rochko 2024-11-18 10:37:01 +01:00 committed by GitHub
parent 9a46329fbd
commit 911d7dbbf6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 14 deletions

View file

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