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

Fix tests

parent 61067070
...@@ -146,7 +146,7 @@ class RegistrationAdminTest(TestCase): ...@@ -146,7 +146,7 @@ class RegistrationAdminTest(TestCase):
fields = self.admin.get_readonly_fields(request) fields = self.admin.get_readonly_fields(request)
self.assertEqual(fields, ['status', 'created_at', self.assertEqual(fields, ['status', 'created_at',
'updated_at', 'payment']) 'updated_at'])
fields = self.admin.get_readonly_fields(request, Registration( fields = self.admin.get_readonly_fields(request, Registration(
status=Entry.STATUS_CONFIRM status=Entry.STATUS_CONFIRM
...@@ -285,7 +285,7 @@ class RenewalAdminTest(TestCase): ...@@ -285,7 +285,7 @@ class RenewalAdminTest(TestCase):
fields = self.admin.get_readonly_fields(request) fields = self.admin.get_readonly_fields(request)
self.assertEqual(fields, ['status', 'created_at', self.assertEqual(fields, ['status', 'created_at',
'updated_at', 'payment']) 'updated_at'])
fields = self.admin.get_readonly_fields(request, Renewal( fields = self.admin.get_readonly_fields(request, Renewal(
status=Entry.STATUS_CONFIRM status=Entry.STATUS_CONFIRM
......
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