Skip to content

Commit

Permalink
fixed codeception tests config to match newer version
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson committed Feb 27, 2024
1 parent 5da799d commit f07475b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion codeception.dist.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
actor: Tester
paths:
tests: tests
log: tests/_output
output: tests/_output
data: tests/_data
helpers: tests/_support
bootstrap: _bootstrap.php
Expand Down
3 changes: 1 addition & 2 deletions src/User/Factory/MailFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@ public static function makeWelcomeMailerService(User $user, $showPassword = fals

/**
* @param string $email
* @param Token $token
*
* @throws InvalidConfigException
* @return MailService
*/
public static function makeRecoveryMailerService($email, Token $token = null)
public static function makeRecoveryMailerService($email, ?Token $token = null)
{
/** @var Module $module */
$module = Yii::$app->getModule('user');
Expand Down
2 changes: 1 addition & 1 deletion src/User/resources/views/bootstrap3/settings/profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
->hint(
Html::a(
Yii::t('usuario', 'Change your avatar at Gravatar.com'),
'http://gravatar.com',
'https://gravatar.com',
['target' => '_blank']
)
) ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/functional.suite.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class_name: FunctionalTester
actor: FunctionalTester
modules:
enabled:
- Filesystem
Expand Down
2 changes: 1 addition & 1 deletion tests/unit.suite.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class_name: UnitTester
actor: UnitTester
modules:
enabled:
- Asserts
Expand Down

0 comments on commit f07475b

Please sign in to comment.