Skip to content

Commit 3f01553

Browse files
committed
minor #14244 Path from Controller Test - Messenger Page Doc (TheGarious)
This PR was merged into the 5.1 branch. Discussion ---------- Path from Controller Test - Messenger Page Doc <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases 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 ------- 26ff76c Path from Controller Test - Messenger Page Doc
2 parents b55787c + 26ff76c commit 3f01553

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

messenger.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,8 +1110,8 @@ Then, while testing, messages will *not* be delivered to the real transport.
11101110
Even better, in a test, you can check that exactly one message was sent
11111111
during a request::
11121112

1113-
// tests/DefaultControllerTest.php
1114-
namespace App\Tests;
1113+
// tests/Controller/DefaultControllerTest.php
1114+
namespace App\Tests\Controller;
11151115

11161116
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
11171117
use Symfony\Component\Messenger\Transport\InMemoryTransport;

0 commit comments

Comments
 (0)