Skip to content

Commit 56715b5

Browse files
mikk150SamMousa
andauthored
Use NullTransport to not send out emails
Co-authored-by: Sam Mousa <[email protected]>
1 parent c6e58be commit 56715b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Codeception/Lib/Connector/Yii2.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ protected function mockMailer(array $config): array
430430
},
431431
'mailer' => [
432432
'class' => Mailer::class,
433+
'transportFactory' => new NullTransportFactory()
433434
]
434435
];
435436

0 commit comments

Comments
 (0)