Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/4754'
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Jul 1, 2013
2 parents 94d56ea + 7035b5e commit 7c49e68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function testSendResponseIgnoresInvalidResponseTypes()

public function testSendResponseTwoTimesPrintsResponseOnlyOnce()
{
$file = fopen(__DIR__ . '/TestAsset/sample-stream-file.txt', 'r');
$file = fopen(__DIR__ . '/TestAsset/sample-stream-file.txt', 'rb');
$mockResponse = $this->getMock('Zend\Http\Response\Stream');
$mockResponse->expects($this->once())->method('getStream')->will($this->returnValue($file));
$mockSendResponseEvent = $this->getSendResponseEventMock($mockResponse);
Expand Down

0 comments on commit 7c49e68

Please sign in to comment.