pull/5115/head
Brendan Abolivier 2019-05-09 13:01:40 +01:00
parent 10e3ed83e9
commit 532ba44add
1 changed files with 7 additions and 0 deletions

View File

@ -38,6 +38,10 @@ class IdentityDisabledTestCase(unittest.HomeserverTestCase):
config = self.default_config()
config.enable_3pid_lookup = False
config.trusted_third_party_id_servers = [
"testis"
]
self.hs = self.setup_test_homeserver(config=config)
return self.hs
@ -112,6 +116,9 @@ class IdentityEnabledTestCase(unittest.HomeserverTestCase):
config = self.default_config()
config.enable_3pid_lookup = True
config.trusted_third_party_id_servers = [
"testis"
]
mock_http_client = Mock(spec=[
"get_json",