Add validated=1 to users created in utils.tests
This commit is contained in:
parent
57170b55be
commit
89ac6250f1
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class BaseTestCase(TestCase):
|
|||
|
||||
# Users
|
||||
self.customer, self.another_customer = mommy.make(
|
||||
'membership.CustomUser',
|
||||
'membership.CustomUser', validated =1,
|
||||
_quantity=2)
|
||||
self.customer.set_password(self.dummy_password)
|
||||
self.customer.save()
|
||||
|
|
Loading…
Reference in a new issue