mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	Исправлен сдохший тест
This commit is contained in:
		@@ -105,7 +105,7 @@ class AccountTest extends DbTestCase {
 | 
				
			|||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $this->specify('email should be not tempmail', function() {
 | 
					        $this->specify('email should be not tempmail', function() {
 | 
				
			||||||
            $model = new Account(['email' => 'c1414001@trbvn.com']);
 | 
					            $model = new Account(['email' => 'ibrpycwyjdnt@dropmail.me']);
 | 
				
			||||||
            expect($model->validate(['email']))->false();
 | 
					            expect($model->validate(['email']))->false();
 | 
				
			||||||
            expect($model->getErrors('email'))->equals(['error.email_is_tempmail']);
 | 
					            expect($model->getErrors('email'))->equals(['error.email_is_tempmail']);
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user