registration: Remove organization type selection in realm creation.

This commit is contained in:
Jack Zhang
2017-06-26 15:07:42 -07:00
committed by Tim Abbott
parent 7f96b3ef2f
commit e915321f89
5 changed files with 8 additions and 53 deletions

View File

@@ -281,9 +281,9 @@ class ZulipTestCase(TestCase):
return self.submit_reg_form_for_user(email, password)
def submit_reg_form_for_user(self, email, password, realm_name="Zulip Test",
realm_subdomain="zuliptest", realm_org_type=Realm.CORPORATE,
realm_subdomain="zuliptest",
from_confirmation='', full_name=None, timezone=u'', **kwargs):
# type: (Text, Text, Optional[Text], Optional[Text], int, Optional[Text], Optional[Text], Optional[Text], **Any) -> HttpResponse
# type: (Text, Text, Optional[Text], Optional[Text], Optional[Text], Optional[Text], Optional[Text], **Any) -> HttpResponse
"""
Stage two of the two-step registration process.
@@ -300,7 +300,6 @@ class ZulipTestCase(TestCase):
'realm_name': realm_name,
'realm_subdomain': realm_subdomain,
'key': find_key_by_email(email),
'realm_org_type': realm_org_type,
'timezone': timezone,
'terms': True,
'from_confirmation': from_confirmation},