8000 Add missing variable assignment · symfony/symfony-docs@8f41c15 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f41c15

Browse files
committed
Add missing variable assignment
Line 41 made use of $crawler which wasn't defined.
1 parent 58d1cbb commit 8f41c15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/testing/simulating_authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ with a request. The following example demonstrates this technique::
3535
{
3636
$this->logIn();
3737

38-
$this->client->request('GET', '/demo/secured/hello/Fabien');
38+
$crawler = $this->client->request('GET', '/demo/secured/hello/Fabien');
3939

4040
$this->assertTrue($this->client->getResponse()->isSuccessful());
4141
$this->assertGreaterThan(0, $crawler->filter('html:contains("Hello Fabien")')->count());

0 commit comments

Comments
 (0)
0