summary refs log tree commit diff
path: root/tests/storage/test_client_ips.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-08-03 14:12:56 +0100
committerNeil Johnson <neil@matrix.org>2018-08-03 14:12:56 +0100
commitb2aab04d2c6021e6999fdc3c204db63d7c6f9334 (patch)
treef98c5928bab18a2e2473e04addc2ce934cc00e77 /tests/storage/test_client_ips.py
parentAdd ability to limit number of monthly active users on the server (diff)
downloadsynapse-b2aab04d2c6021e6999fdc3c204db63d7c6f9334.tar.xz
fix py3 test failure
Diffstat (limited to 'tests/storage/test_client_ips.py')
-rw-r--r--tests/storage/test_client_ips.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/storage/test_client_ips.py b/tests/storage/test_client_ips.py
index e1552510cc..0cd290176e 100644
--- a/tests/storage/test_client_ips.py
+++ b/tests/storage/test_client_ips.py
@@ -34,6 +34,7 @@ class ClientIpStoreTestCase(tests.unittest.TestCase):
 
     @defer.inlineCallbacks
     def test_insert_new_client_ip(self):
+        self.hs.config.max_mau_value = 50
         self.clock.now = 12345678
         user_id = "@user:id"
         yield self.store.insert_client_ip(