mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:03:57 -06:00
FIX: flaky post_alerter_spec.rb because of missing order (#10000)
This commit is contained in:
parent
70a88111dd
commit
f993d8a197
@ -463,6 +463,7 @@ class PostAlerter
|
||||
.where("push_url IS NOT NULL AND push_url <> ''")
|
||||
.where("position(push_url IN ?) > 0", SiteSetting.allowed_user_api_push_urls)
|
||||
.where("revoked_at IS NULL")
|
||||
.order(client_id: :asc)
|
||||
.pluck(:client_id, :push_url)
|
||||
|
||||
if clients.length > 0
|
||||
|
Loading…
Reference in New Issue
Block a user