Modify test_user_sync so it doesn't look at last_active_ts over last_user_sync_ts

This commit is contained in:
Will Hunt 2017-03-15 15:38:57 +00:00
parent e6032054bf
commit c144292373

View file

@ -324,7 +324,7 @@ class PresenceTimeoutTestCase(unittest.TestCase):
state = UserPresenceState.default(user_id)
state = state.copy_and_replace(
state=PresenceState.ONLINE,
last_active_ts=now,
last_active_ts=0,
last_user_sync_ts=now - SYNC_ONLINE_TIMEOUT - 1,
)