Revert "Registration: don't require terms of service if checkbox is hidden"

This commit is contained in:
Ben Patterson
2016-02-29 12:08:09 -05:00
parent 23a0a6d41a
commit 9e4f14f1be
2 changed files with 1 additions and 11 deletions

View File

@@ -1683,16 +1683,6 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, ApiTestCase):
}
)
@override_settings(REGISTRATION_EXTRA_FIELDS={"honor_code": "hidden", "terms_of_service": "hidden"})
def test_register_hidden_honor_code_and_terms_of_service(self):
response = self.client.post(self.url, {
"email": self.EMAIL,
"name": self.NAME,
"username": self.USERNAME,
"password": self.PASSWORD,
})
self.assertHttpOK(response)
def test_missing_fields(self):
response = self.client.post(
self.url,