diff --git a/tests/unit/ResponseTest.php b/tests/unit/ResponseTest.php index 456dfc3..1384863 100644 --- a/tests/unit/ResponseTest.php +++ b/tests/unit/ResponseTest.php @@ -24,9 +24,9 @@ public function parsesHttpResponseCodeCorrectly() /** @test */ public function parsesHttp2ResponseCorrectly() { - $r = $this->makeResponse('', 'HTTP/2 200 OK'); + $r = $this->makeResponse('', 'HTTP/2 200'); $this->assertEquals(200, $r->statusCode); - $this->assertEquals('200 OK', $r->statusText); + $this->assertEquals('200', $r->statusText); } /** @test */