summary refs log tree commit diff
path: root/tests/storage/test_client_ips.py
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-12-01 13:43:30 +0000
committerDavid Robertson <davidr@element.io>2022-12-01 13:43:30 +0000
commit781b14ec69897a3b993fc46e43480a04cf2ad5f4 (patch)
tree169c9f3cfe3246c3a76fd9627e8ae917a012901a /tests/storage/test_client_ips.py
parentModernize unit tests configuration settings for workers. (#14568) (diff)
parent1.73.0rc2 (diff)
downloadsynapse-781b14ec69897a3b993fc46e43480a04cf2ad5f4.tar.xz
Merge branch 'release-v1.73' into develop
Diffstat (limited to 'tests/storage/test_client_ips.py')
-rw-r--r--tests/storage/test_client_ips.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/storage/test_client_ips.py b/tests/storage/test_client_ips.py
index a9af1babed..49ad3c1324 100644
--- a/tests/storage/test_client_ips.py
+++ b/tests/storage/test_client_ips.py
@@ -169,8 +169,6 @@ class ClientIpStoreTestCase(unittest.HomeserverTestCase):
             )
         )
 
-        last_seen = self.clock.time_msec()
-
         if after_persisting:
             # Trigger the storage loop
             self.reactor.advance(10)
@@ -191,7 +189,7 @@ class ClientIpStoreTestCase(unittest.HomeserverTestCase):
                         "device_id": device_id,
                         "ip": None,
                         "user_agent": None,
-                        "last_seen": last_seen,
+                        "last_seen": None,
                     },
                 ],
             )