mirror of https://github.com/zulip/zulip.git
tests: Unbreak registration, which was missing the new TOS field.
Also remove unused fields. The registration tests should be revamped for our new multi-stage signup, but for now just get the test suite passing completely. (imported from commit 481f420cf99341e44e71942ae563e3f9a1270d3e)
This commit is contained in:
parent
605353027e
commit
9eb86df03a
|
@ -39,10 +39,9 @@ class AuthedTestCase(TestCase):
|
||||||
self.client.post('/accounts/home/',
|
self.client.post('/accounts/home/',
|
||||||
{'email': username + '@humbughq.com'})
|
{'email': username + '@humbughq.com'})
|
||||||
return self.client.post('/accounts/register/',
|
return self.client.post('/accounts/register/',
|
||||||
{'full_name':username, 'short_name':username,
|
{'full_name': username, 'password': password,
|
||||||
'key': find_key_by_email(username + '@humbughq.com'),
|
'key': find_key_by_email(username + '@humbughq.com'),
|
||||||
'username':username, 'password':password,
|
'terms': True})
|
||||||
'domain':'humbughq.com'})
|
|
||||||
|
|
||||||
def get_user_profile(self, email):
|
def get_user_profile(self, email):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue