Add validated=1 to users created in utils.tests

This commit is contained in:
PCoder 2017-11-25 20:19:22 +01:00
parent 57170b55be
commit 89ac6250f1

View file

@ -28,7 +28,7 @@ class BaseTestCase(TestCase):
# Users # Users
self.customer, self.another_customer = mommy.make( self.customer, self.another_customer = mommy.make(
'membership.CustomUser', 'membership.CustomUser', validated =1,
_quantity=2) _quantity=2)
self.customer.set_password(self.dummy_password) self.customer.set_password(self.dummy_password)
self.customer.save() self.customer.save()