summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/handlers/test_register.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/handlers/test_register.py b/tests/handlers/test_register.py

index f5033c94fe..e951a62a6d 100644 --- a/tests/handlers/test_register.py +++ b/tests/handlers/test_register.py
@@ -566,6 +566,12 @@ class RegistrationTestCase(unittest.HomeserverTestCase): {"address": "alice@example.com", "medium": "email", "mxid": "@alice:test"}, ) + # Check that we stored a mapping of this bind + bound_threepids = self.get_success( + self.store.user_get_bound_threepids("@alice:test") + ) + self.assertListEqual(bound_threepids, [{"medium": "email", "address": email}]) + def uia_register(self, expected_response: int, body: dict) -> FakeChannel: """Make a register request.""" request, channel = self.make_request(