Add tests for user directory search

This commit is contained in:
Richard van der Hoff 2018-01-25 21:25:03 +00:00
parent 46022025ea
commit d1f3490e75
2 changed files with 89 additions and 0 deletions

View file

@ -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.