diff --git a/tests/functional/UserCest.php b/tests/functional/UserCest.php index 2ed065acf..b1ae8e70d 100644 --- a/tests/functional/UserCest.php +++ b/tests/functional/UserCest.php @@ -19,10 +19,11 @@ public function updateFirstLastName(FunctionalTester $I) $I->amLoggedAs($user); $I->amOnAction('UserController@getSettings'); $I->fillField('firstname', 'First'); -// $I->fillField('lastname', 'Last'); + $I->fillField('lastname', 'Last'); + $I->selectOption('language', 'en'); $I->click(trans('tinyissue.update')); $I->seeInField('firstname', 'First'); -// $I->seeInField('lastname', 'Last'); + $I->seeInField('lastname', 'Last'); $I->seeLink('First', '/user/settings'); } @@ -70,6 +71,7 @@ public function passwordNotMatched(FunctionalTester\UserSteps $I) $I->fillField('password_confirmation', '1234'); $I->click(trans('tinyissue.update')); $I->seeFormHasErrors(); + $I->selectOption('language', 'en'); $I->fillField('password', 'newpass'); $I->fillField('password_confirmation', 'newpass'); $I->click(trans('tinyissue.update'));