Skip to content
Snippets Groups Projects
Commit c1442923 authored by Will Hunt's avatar Will Hunt
Browse files

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

parent e6032054
No related branches found
No related tags found
No related merge requests found
......@@ -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,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment