Skip to content

Commit

Permalink
Merge 1e26aef into 794073a
Browse files Browse the repository at this point in the history
  • Loading branch information
dopesong committed May 17, 2016
2 parents 794073a + 1e26aef commit c0b3566
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Http/ResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,13 @@ public function testWithStatusEmptyReasonPhrase()
public function testGetReasonPhrase()
{
$response = new Response();
$responseWithNoMessage = new Response(310);
$responseStatus = new ReflectionProperty($response, 'status');
$responseStatus->setAccessible(true);
$responseStatus->setValue($response, '404');

$this->assertEquals('Not Found', $response->getReasonPhrase());
$this->assertEquals('', $responseWithNoMessage->getReasonPhrase());
}

/**
Expand Down

0 comments on commit c0b3566

Please sign in to comment.