Verified Commit f8c2d58a authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix registrations tests

parent 937a5b1d
......@@ -265,7 +265,7 @@ class Registration(Entry):
'Login using the existing account and renew the '
'membership by visiting the account settings.')})
elif (self.student_number is None and
self.membership_type != Membership.SUPPORTER):
self.membership_type != Membership.BENEFACTOR):
errors.update({
'student_number': _('This field is required.')})
......
......@@ -155,7 +155,7 @@ class RegistrationTest(TestCase):
with self.subTest('Type is benefactor'):
self.registration.student_number = None
self.registration.membership_type = Membership.SUPPORTER
self.registration.membership_type = Membership.BENEFACTOR
self.registration.clean()
def test_unique_username_user(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment