Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_signup: Fix the fetching of UserProfile in verify_signup.
Mateusz Mandera63162210c1bf
diff --git a/zerver/tests/test_signup.py b/zerver/tests/test_signup.pyindex 00086cfe3ed..386723c919c 100644--- a/zerver/tests/test_signup.py+++ b/zerver/tests/test_signup.py@@ -3628,7 +3628,7 @@ class UserSignUpTest(InviteUserBase):self.assertEqual(result["Location"], f"{realm.uri}/")# Verify that we successfully logged in.- user_profile = get_user(email, realm)+ user_profile = get_user_by_delivery_email(email, realm)self.assert_logged_in_user_id(user_profile.id)return user_profile