mirror of https://github.com/zulip/zulip.git
tests: Add new registration fields to registration tests.
(imported from commit c666e0cf89aaed357bb5bea6f9fbaafc5efffa7c)
This commit is contained in:
parent
5090a3fb91
commit
f5c4bb7ab2
|
@ -20,7 +20,10 @@ class AuthedTestCase(TestCase):
|
||||||
|
|
||||||
def register(self, username, password):
|
def register(self, username, password):
|
||||||
return self.client.post('/accounts/register/',
|
return self.client.post('/accounts/register/',
|
||||||
{'username':username, 'password':password, 'domain':'humbughq.com'})
|
{'full_name':username, 'short_name':username,
|
||||||
|
'email':username + "@humbughq.com",
|
||||||
|
'username':username, 'password':password,
|
||||||
|
'domain':'humbughq.com'})
|
||||||
|
|
||||||
def get_userprofile(self, username):
|
def get_userprofile(self, username):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue