Skip to content

Commit 723b199

Browse files
Update testing.rst
This code for sending mail is wrong, it gives me the following error, even if I have enabled the profiler 1) App\Tests\Controller\MailControllerTest::testMailIsSentAndContentIsOk Failed asserting that 0 is identical to 1.
1 parent 4fbad62 commit 723b199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

email/testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Start with a simple controller action that sends an email::
2222

2323
$mailer->send($message);
2424

25-
return $this->render(...);
25+
return $this->render();
2626
}
2727

2828
In your functional test, use the ``swiftmailer`` collector on the profiler

0 commit comments

Comments
 (0)