mirror of
https://github.com/elyby/accounts.git
synced 2026-11-19 06:03:21 +05:30
Исправлено поведение формы регистрации
This commit is contained in:
1 parent
2580119180
commit
298f57841f
2 files changed
+3
No files matched your search
@@ -93,6 +93,7 @@ class RegistrationFormTest extends DbTestCase {
|
||||
|
||||
expect('user should be valid', $user)->isInstanceOf(Account::class);
|
||||
expect('password should be correct', $user->validatePassword('some_password'))->true();
|
||||
expect('uuid is set', $user->uuid)->notEmpty();
|
||||
expect('user model exists in database', Account::find()->andWhere([
|
||||
'username' => 'some_username',
|
||||
'email' => 'some_email@example.com',
|
||||
|
||||
Reference in new issue
Block a user