We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d1cbb commit 8f41c15Copy full SHA for 8f41c15
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