8000 minor #10917 Update testing.rst (xavierkaitha94) · symfony/symfony-docs@0c1f717 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0c1f717

Browse files
committed
minor #10917 Update testing.rst (xavierkaitha94)
This PR was merged into the 4.2 branch. Discussion ---------- 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. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 723b199 Update testing.rst
2 parents 9736d39 + 723b199 commit 0c1f717

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)
0