From 6f40b7a9a212e10b6e8d981651888a81165aecf1 Mon Sep 17 00:00:00 2001 From: Andreas Lutro Date: Wed, 14 Jul 2021 18:13:07 +0200 Subject: [PATCH] correct http2 test (#69) --- tests/unit/ResponseTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */