mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
[schema] Add realms to the schema.
Note that realms aren't actually used for anything, aren't prompted for, etc, so this is mostly just a schema change and the refactoring needed to allow setting the realm in the future. (imported from commit b8b483dcc9601b288702284879e9c99707a50a5c)
This commit is contained in:
@@ -17,7 +17,7 @@ class AuthedTestCase(TestCase):
|
||||
|
||||
def register(self, username, password):
|
||||
return self.client.post('/accounts/register/',
|
||||
{'username':username, 'password':password})
|
||||
{'username':username, 'password':password, 'domain':'humbughq.com'})
|
||||
|
||||
def send_zephyr(self, sender_name, recipient_name, zephyr_type):
|
||||
sender = UserProfile.objects.get(user=User.objects.get(username=sender_name))
|
||||
|
||||
Reference in New Issue
Block a user