1
0
Fork 0
forked from fedi/mastodon

Change flaky AccountSearchService test (#19650)

This commit is contained in:
Claire 2022-11-03 23:12:08 +01:00 committed by GitHub
parent 1dca08b76f
commit 9387beb3b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,6 @@ describe AccountSearchService, type: :service do
results = subject.call('e@example.com', nil, limit: 2) results = subject.call('e@example.com', nil, limit: 2)
expect(results.size).to eq 2
expect(results).to eq([exact, remote]).or eq([exact, remote_too]) expect(results).to eq([exact, remote]).or eq([exact, remote_too])
end end
end end