fix: fix test_map_userinfo_to_user test case

code_spécifique_watcha
KevICO 4 years ago committed by c-cal
parent 79f5998669
commit 430edf5d75
Signed by: watcha
GPG Key ID: 87DD78E7F7A1581D
  1. 2
      tests/handlers/test_oidc.py

@ -776,7 +776,7 @@ class OidcHandlerTestCase(HomeserverTestCase):
),
MappingException,
)
self.assertEqual(str(e.value), "A user with this email address already exists. Cannot create a new one.")
self.assertEqual(str(e.value), "[watcha] register user with email test_user@test.com failed : email address already exists")
# +watcha
@override_config({"oidc_config": {"allow_existing_users": True}})

Loading…
Cancel
Save