mirror of
https://github.com/elyby/accounts.git
synced 2024-12-30 00:50:20 +05:30
Исправлен сдохший тест
This commit is contained in:
parent
c3d0490d4a
commit
dccfa5d4c9
@ -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']);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user