summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2018-01-27 22:58:24 +0100
committerGitHub <noreply@github.com>2018-01-27 22:58:24 +0100
commit4c65b98e4add3e5969057a2f1b97568d554ca7b9 (patch)
treed7feb1582da4e349c832f1dca0934ae435462dc9 /tests/utils.py
parentMerge pull request #2829 from matrix-org/rav/postgres_in_tests (diff)
parentAdd tests for user directory search (diff)
downloadsynapse-4c65b98e4add3e5969057a2f1b97568d554ca7b9.tar.xz
Merge pull request #2831 from matrix-org/rav/fix-userdir-search-again
Fix SQL for user 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.