1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rest/admin/test_user.py b/tests/rest/admin/test_user.py
index 294d429ce1..eea675991c 100644
--- a/tests/rest/admin/test_user.py
+++ b/tests/rest/admin/test_user.py
@@ -1550,7 +1550,8 @@ class UserRestTestCase(unittest.HomeserverTestCase):
# Create user
body = {
"password": "abc123",
- "threepids": [{"medium": "email", "address": "bob@bob.bob"}],
+ # Note that the given email is not in canonical form.
+ "threepids": [{"medium": "email", "address": "Bob@bob.bob"}],
}
channel = self.make_request(
|