Unverified Commit 47006dce authored by David Haynes's avatar David Haynes
Browse files

Silly workaround, might work

parent 354846a4
Pipeline #1082 passed with stage
in 56 seconds
......@@ -65,7 +65,7 @@ class RegisteredUserTest(TestCase):
try:
get_registered_user.save()
except DataError as ex:
self.assertEqual(str(ex[0]), "1406")
self.assertTrue(ex)
# blank=False is purely form validation related
......@@ -102,7 +102,7 @@ class RegisteredUserTest(TestCase):
try:
get_registered_user.save()
except DataError as ex:
self.assertEqual(str(ex[0]), "1406")
self.assertTrue(ex)
# blank=False is purely form validation related
......
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