mirror of https://github.com/zulip/zulip.git
test_signup: Fix asserted redirect Location in verify_signup.
The expected Location should depend on the realm.
This commit is contained in:
parent
05fe62c96c
commit
99ade3f535
|
@ -3625,7 +3625,7 @@ class UserSignUpTest(InviteUserBase):
|
|||
|
||||
# Verify that we were served a redirect to the app.
|
||||
self.assertEqual(result.status_code, 302)
|
||||
self.assertEqual(result["Location"], "http://lear.testserver/")
|
||||
self.assertEqual(result["Location"], f"{realm.uri}/")
|
||||
|
||||
# Verify that we successfully logged in.
|
||||
user_profile = get_user(email, realm)
|
||||
|
|
Loading…
Reference in New Issue