Skip to content

Commit

Permalink
correct http2 test (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
anlutro authored Jul 14, 2021
1 parent 836c7f7 commit 6f40b7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/ResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 6f40b7a

Please sign in to comment.