Skip to content

Commit

Permalink
fix: load mailmethod config
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Feb 24, 2025
1 parent 93c851d commit d536116
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Codeception/Module/Yii2.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ private function configureClient(array $settings): void
$client->recreateApplication = $settings['recreateApplication'];
$client->closeSessionOnRecreateApplication = $settings['closeSessionOnRecreateApplication'];
$client->applicationClass = $settings['applicationClass'];
$client->mailMethod = $settings['mailMethod'];

Check failure on line 371 in src/Codeception/Module/Yii2.php

View workflow job for this annotation

GitHub Actions / tests (8.4)

Offset 'mailMethod' does not exist on array{configFile: string, responseCleanMethod: 'clear'|'manual'|'recreate', requestCleanMethod: 'clear'|'manual'|'recreate', recreateComponents: list<string>, recreateApplication: bool, closeSessionOnRecreateApplication: bool, applicationClass: class-string<yii\base\Application>|null}.

Check failure on line 371 in src/Codeception/Module/Yii2.php

View workflow job for this annotation

GitHub Actions / tests (8.3)

Offset 'mailMethod' does not exist on array{configFile: string, responseCleanMethod: 'clear'|'manual'|'recreate', requestCleanMethod: 'clear'|'manual'|'recreate', recreateComponents: list<string>, recreateApplication: bool, closeSessionOnRecreateApplication: bool, applicationClass: class-string<yii\base\Application>|null}.

Check failure on line 371 in src/Codeception/Module/Yii2.php

View workflow job for this annotation

GitHub Actions / tests (8.4)

Offset 'mailMethod' does not exist on array{configFile: string, responseCleanMethod: 'clear'|'manual'|'recreate', requestCleanMethod: 'clear'|'manual'|'recreate', recreateComponents: list<string>, recreateApplication: bool, closeSessionOnRecreateApplication: bool, applicationClass: class-string<yii\base\Application>|null}.
$client->resetApplication();
}

Expand Down

0 comments on commit d536116

Please sign in to comment.