summary refs log tree commit diff
path: root/tests/rest/test_presence.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-18 16:00:46 +0100
committerErik Johnston <erik@matrix.org>2014-08-18 16:00:46 +0100
commit709a92cee89709811c51cac7d8c66922093be673 (patch)
tree1d1d1ca90bceaf2c7749a90f6ff4b54efbaf97cc /tests/rest/test_presence.py
parentMerge branch 'master' of github.com:matrix-org/synapse into sql_refactor (diff)
downloadsynapse-709a92cee89709811c51cac7d8c66922093be673.tar.xz
SQL doesn't allow AUTOINCREMENT on non PRIMARY KEY columns.
Diffstat (limited to 'tests/rest/test_presence.py')
-rw-r--r--tests/rest/test_presence.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rest/test_presence.py b/tests/rest/test_presence.py
index 91d4d1ff6c..99287823e4 100644
--- a/tests/rest/test_presence.py
+++ b/tests/rest/test_presence.py
@@ -51,6 +51,7 @@ class PresenceStateTestCase(unittest.TestCase):
         hs = HomeServer("test",
             db_pool=None,
             http_client=None,
+            datastore=None,
             resource_for_client=self.mock_server,
             resource_for_federation=self.mock_server,
         )
@@ -109,6 +110,7 @@ class PresenceListTestCase(unittest.TestCase):
         hs = HomeServer("test",
             db_pool=None,
             http_client=None,
+            datastore=None,
             resource_for_client=self.mock_server,
             resource_for_federation=self.mock_server
         )