Skip to content

Commit fc8e8c6

Browse files
authored
Fixed status code test
1 parent be5fe37 commit fc8e8c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/http_authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ needs::
102102
$this->logIn();
103103
$crawler = $this->client->request('GET', '/admin');
104104

105-
$this->assertSame(Response::HTTP_OK, $this->client->getResponse());
105+
$this->assertSame(Response::HTTP_OK, $this->client->getResponse()->getStatusCode());
106106
$this->assertSame('Admin Dashboard', $crawler->filter('h1')->text());
107107
}
108108

0 commit comments

Comments
 (0)