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
 | 
					        # 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()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue