Fix test
parent
10e3ed83e9
commit
532ba44add
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue