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