fix test configuration

This commit is contained in:
Antonio Ramirez
2016-12-11 13:33:40 +01:00
parent 0b71a3e9b3
commit 4588d77129
20 changed files with 152 additions and 137 deletions

View File

@ -47,7 +47,7 @@ class RegistrationController extends Controller
Module $module,
UserQuery $userQuery,
SocialNetworkAccountQuery $socialNetworkAccountQuery,
array $config
array $config = []
) {
$this->userQuery = $userQuery;
@ -106,7 +106,7 @@ class RegistrationController extends Controller
'Your account has been created and a message with further instructions has been sent to your email'
)
);
return $this->render('/user/shared/message', [
return $this->render('/shared/message', [
'title' => Yii::t('user', 'Your account has been created')
]);
}
@ -186,7 +186,7 @@ class RegistrationController extends Controller
}
return $this->render(
'/user/shared/message',
'/shared/message',
[
'title' => Yii::t('user', 'Account confirmation'),
'module' => $this->module,