summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-01-25 21:25:03 +0000
committerRichard van der Hoff <richard@matrix.org>2018-01-27 17:21:57 +0000
commitd1f3490e75df49bf417eeeaef115df16729244ce (patch)
treed7feb1582da4e349c832f1dca0934ae435462dc9 /tests/utils.py
parentFix SQL for user search (diff)
downloadsynapse-d1f3490e75df49bf417eeeaef115df16729244ce.tar.xz
Add tests for user directory search
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py
index d1f59551e8..8efd3a3475 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -59,6 +59,7 @@ def setup_test_homeserver(name="test", datastore=None, config=None, **kargs):
         config.email_enable_notifs = False
         config.block_non_admin_invites = False
         config.federation_domain_whitelist = None
+        config.user_directory_search_all_users = False
 
         # disable user directory updates, because they get done in the
         # background, which upsets the test runner.