mirror of
https://github.com/mastodon/mastodon.git
synced 2025-05-07 12:16:14 +00:00
Use fixed order in flaky spec (#34279)
This commit is contained in:
parent
59e189ad3c
commit
02db065571
|
@ -169,7 +169,7 @@ RSpec.describe 'Notifications' do
|
|||
end
|
||||
|
||||
context 'with min_id param' do
|
||||
let(:params) { { min_id: user.account.notifications.reload.first.id - 1 } }
|
||||
let(:params) { { min_id: user.account.notifications.order(id: :asc).first.id - 1 } }
|
||||
|
||||
it 'returns a notification group covering all notifications' do
|
||||
subject
|
||||
|
|
Loading…
Reference in New Issue
Block a user