mirror of https://github.com/zulip/zulip.git
Fix test_signup.LoginTest.test_register.
The test currently expects 67 database queries during registration, but we
added two more (likely calls to resolve_subdomain_to_realm) in ea39fb2
.
This commit is contained in:
parent
464ced2b48
commit
48bec80c61
|
@ -189,7 +189,7 @@ class LoginTest(ZulipTestCase):
|
|||
with queries_captured() as queries:
|
||||
self.register("test", "test")
|
||||
# Ensure the number of queries we make is not O(streams)
|
||||
self.assert_max_length(queries, 67)
|
||||
self.assert_max_length(queries, 69)
|
||||
user_profile = get_user_profile_by_email('test@zulip.com')
|
||||
self.assertEqual(get_session_dict_user(self.client.session), user_profile.id)
|
||||
|
||||
|
|
Loading…
Reference in New Issue