Fix tests

This commit is contained in:
Arthur Khachaturov
2018-02-09 15:41:46 +03:00
committed by GitHub
parent 4928df0770
commit 9e2e261bb8

View File

@ -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);