You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding an even more descriptive comment - follow-up of 2f84671
The indentation of the code is preserved in the displayed message, so it looked like this:
```
Fail Emails can't be tested without SwiftMailer connector.
If you are using Symfony Mailer define mailer: "symfony_mailer" in Symfony module config.
```
I hope the `\n` works better :-)
Copy file name to clipboardExpand all lines: src/Codeception/Module/Symfony.php
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -500,8 +500,7 @@ public function seeEmailIsSent($expectedCount = null)
500
500
caseself::SWIFTMAILER:
501
501
if (!$profile->hasCollector('swiftmailer')) {
502
502
$this->fail(
503
-
'Emails can\'t be tested without SwiftMailer connector.
504
-
If you are using Symfony Mailer define mailer: "symfony_mailer" in Symfony module config.'
503
+
"Emails can't be tested without SwiftMailer connector.\nIf you are using Symfony Mailer, set this in your `functional.suite.yml`: `mailer: 'symfony_mailer'`"
0 commit comments