We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7e8262 commit 4436773Copy full SHA for 4436773
cookbook/testing/simulating_authentication.rst
@@ -35,7 +35,7 @@ with a request. The following example demonstrates this technique::
35
{
36
$this->logIn();
37
38
- $this->client->request('GET', '/demo/secured/hello/Fabien');
+ $crawler = $this->client->request('GET', '/demo/secured/hello/Fabien');
39
40
$this->assertTrue($this->client->getResponse()->isSuccessful());
41
$this->assertGreaterThan(0, $crawler->filter('html:contains("Hello Fabien")')->count());
0 commit comments