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 be5fe37 commit fc8e8c6Copy full SHA for fc8e8c6
testing/http_authentication.rst
@@ -102,7 +102,7 @@ needs::
102
$this->logIn();
103
$crawler = $this->client->request('GET', '/admin');
104
105
- $this->assertSame(Response::HTTP_OK, $this->client->getResponse());
+ $this->assertSame(Response::HTTP_OK, $this->client->getResponse()->getStatusCode());
106
$this->assertSame('Admin Dashboard', $crawler->filter('h1')->text());
107
}
108
0 commit comments