summary refs log tree commit diff
path: root/tests/storage/test_registration.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-03 17:20:33 +0100
committerErik Johnston <erik@matrix.org>2015-06-03 17:20:33 +0100
commit13ed3b99856a104e172b0e5bc0996c39242f0224 (patch)
tree1c930ae2488e1298c8e94652cd7d2f701d7a6c37 /tests/storage/test_registration.py
parentMerge pull request #177 from matrix-org/erikj/content_repo_http_client (diff)
parentAdd cache to get_state_groups (diff)
downloadsynapse-13ed3b99856a104e172b0e5bc0996c39242f0224.tar.xz
Merge pull request #178 from matrix-org/erikj/cache_state_groups
Add cache to get_state_groups.
Diffstat (limited to 'tests/storage/test_registration.py')
-rw-r--r--tests/storage/test_registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_registration.py b/tests/storage/test_registration.py
index 78f6004204..2702291178 100644
--- a/tests/storage/test_registration.py
+++ b/tests/storage/test_registration.py
@@ -46,7 +46,7 @@ class RegistrationStoreTestCase(unittest.TestCase):
             (yield self.store.get_user_by_id(self.user_id))
         )
 
-        result = yield self.store.get_user_by_token(self.tokens[1])
+        result = yield self.store.get_user_by_token(self.tokens[0])
 
         self.assertDictContainsSubset(
             {