From 89ac6250f129b54cc747b8aa51d69ad76b53c678 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sat, 25 Nov 2017 20:19:22 +0100 Subject: [PATCH] Add validated=1 to users created in utils.tests --- utils/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/tests.py b/utils/tests.py index 1da5ba28..d7b002f9 100644 --- a/utils/tests.py +++ b/utils/tests.py @@ -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()