From 723b1994715dfe5d2c609cd8379bd0a531f4797a Mon Sep 17 00:00:00 2001 From: xavierkaitha94 <44666690+xavierkaitha94@users.noreply.github.com> Date: Tue, 22 Jan 2019 11:58:55 +0530 Subject: [PATCH] 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. --- email/testing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email/testing.rst b/email/testing.rst index 1da89c7315b..57694f6138a 100644 --- a/email/testing.rst +++ b/email/testing.rst @@ -22,7 +22,7 @@ Start with a simple controller action that sends an email:: $mailer->send($message); - return $this->render(...); + return $this->render(); } In your functional test, use the ``swiftmailer`` collector on the profiler