summary refs log tree commit diff
path: root/tests/storage/test_client_ips.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-09-23 16:00:18 +0100
committerErik Johnston <erik@matrix.org>2019-09-23 16:59:45 +0100
commit51d28272e20d799b2e35a8a14b3c1d9d5f555d10 (patch)
tree46ceaf3bf8ae2139fe40b87cd0d86053d5127950 /tests/storage/test_client_ips.py
parentAdd BG update to populate devices last seen info (diff)
downloadsynapse-51d28272e20d799b2e35a8a14b3c1d9d5f555d10.tar.xz
Query devices table for last seen info.
This is a) simpler than querying user_ips directly and b) means we can
purge older entries from user_ips without losing the required info.

The storage functions now no longer return the access_token, since it
was unused.
Diffstat (limited to 'tests/storage/test_client_ips.py')
-rw-r--r--tests/storage/test_client_ips.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/storage/test_client_ips.py b/tests/storage/test_client_ips.py
index 09305c3bf1..6ac4654085 100644
--- a/tests/storage/test_client_ips.py
+++ b/tests/storage/test_client_ips.py
@@ -55,7 +55,6 @@ class ClientIpStoreTestCase(unittest.HomeserverTestCase):
             {
                 "user_id": user_id,
                 "device_id": "device_id",
-                "access_token": "access_token",
                 "ip": "ip",
                 "user_agent": "user_agent",
                 "last_seen": 12345678000,