Fix merge with upstream
This commit is contained in:
@ -76,6 +76,8 @@ CREATE TABLE `user` (
|
||||
`gdpr_consent` tinyint(1) NULL DEFAULT '0',
|
||||
`gdpr_consent_date` int(11) NULL,
|
||||
`gdpr_deleted` tinyint(1) DEFAULT '0',
|
||||
`last_login_ip` varchar(45) DEFAULT NULL,
|
||||
`password_changed_at` int(11) DEFAULT NULL,
|
||||
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `user_unique_email` (`email`),
|
||||
|
||||
@ -50,7 +50,7 @@ class RegistrationCest
|
||||
$I->see(Html::encode('This email address has already been taken'));
|
||||
|
||||
$this->register($I, 'tester@example.com', 'tester', 'tester');
|
||||
$I->see('Your account has been created and a message with further instructions has been sent to your email');
|
||||
$I->see('Your account has been created');
|
||||
$user = $I->grabRecord(User::className(), ['email' => 'tester@example.com']);
|
||||
$I->assertTrue($user->isConfirmed);
|
||||
|
||||
@ -96,7 +96,7 @@ class RegistrationCest
|
||||
]);
|
||||
$I->amOnRoute('/user/registration/register');
|
||||
$this->register($I, 'tester@example.com', 'tester');
|
||||
$I->see('Your account has been created and a message with further instructions has been sent to your email');
|
||||
$I->see('Your account has been created');
|
||||
$user = $I->grabRecord(User::className(), ['email' => 'tester@example.com']);
|
||||
$I->assertEquals('tester', $user->username);
|
||||
/** @var yii\swiftmailer\Message $message */
|
||||
|
||||
Reference in New Issue
Block a user