mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
registration: Use PreregistrationRealm object for realm creation.
We now use PreregistrationRealm objects in registration_helper function when creating new realms instead of PreregistrationUser objects. Fixes part of #24307.
This commit is contained in:
@@ -937,7 +937,7 @@ class LoginTest(ZulipTestCase):
|
||||
ContentType.objects.clear_cache()
|
||||
|
||||
# Ensure the number of queries we make is not O(streams)
|
||||
with self.assert_database_query_count(93), cache_tries_captured() as cache_tries:
|
||||
with self.assert_database_query_count(94), cache_tries_captured() as cache_tries:
|
||||
with self.captureOnCommitCallbacks(execute=True):
|
||||
self.register(self.nonreg_email("test"), "test")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user