Commit 3ca29495 authored by Luko van der Maas's avatar Luko van der Maas
Browse files

Merge branch 'fix/registration-tests' into 'master'

Fix registrations tests

See merge request !968
parents 937a5b1d f8c2d58a
......@@ -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):
'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
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