Skip to content

Commit

Permalink
Try to fix test again.
Browse files Browse the repository at this point in the history
  • Loading branch information
terrencegf committed May 25, 2017
1 parent a9295d0 commit 82b0c8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/src/Provider/CILogonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ public function testExceptionThrownWnenHTTPErrorStatus()
$status = rand(401,599);
$reason = 'HTTP ERROR';
$postResponse = m::mock('Psr\Http\Message\ResponseInterface');
$postResponse->shouldReceive('getBody')->andReturn('');
$postResponse->shouldReceive('getHeader')->andReturn([]);
$postResponse->shouldReceive('getStatusCode')->andReturn($status);
$postResponse->shouldReceive('getReasonPhrase')->andReturn($reason);
$client = m::mock('GuzzleHttp\ClientInterface');
Expand Down

0 comments on commit 82b0c8b

Please sign in to comment.