Исправлен сдохший тест

This commit is contained in:
ErickSkrauch 2016-08-17 01:27:13 +03:00
parent c3d0490d4a
commit dccfa5d4c9

View File

@ -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']);
}); });