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

pull/2014/head
Will Hunt 2017-03-15 15:38:57 +00:00
parent e6032054bf
commit c144292373
1 changed files with 1 additions and 1 deletions

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,
)