Skip to content

Commit 26ff76c

Browse files
authored
Path from Controller Test - Messenger Page Doc
1 parent 51aa10d commit 26ff76c

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)