mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
DEV: Fix intermittent failing spec. (#15308)
This commit is contained in:
parent
e37f0eb240
commit
6fe4c8ae58
@ -90,6 +90,8 @@ describe UserStat do
|
||||
end
|
||||
|
||||
it 'updates first unread pm timestamp correctly' do
|
||||
freeze_time
|
||||
|
||||
user = Fabricate(:user, last_seen_at: Time.zone.now)
|
||||
user_2 = Fabricate(:user, last_seen_at: Time.zone.now)
|
||||
pm_topic = Fabricate(:private_message_topic, user: user, recipient: user_2)
|
||||
|
Loading…
Reference in New Issue
Block a user