Skip to content

Commit

Permalink
Address style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Riimu committed Oct 10, 2018
1 parent b148a5b commit 80d17af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,14 @@ public function testAbnormalClientSend()

public function testSmallRewindedBody()
{
$stream = fopen('php://memory', 'wb+');
$stream = fopen('php://memory', 'w+b');
fwrite($stream, '0');

$response = (new ResponseFactory())->createResponse()
->withBody((new StreamFactory())->createStreamFromResource($stream));

$this->buildApplication([
['GET', '/path/', $this->getHandler($response)]
['GET', '/path/', $this->getHandler($response)],
]);

$this->makeRequest('GET', '/path/');
Expand Down

0 comments on commit 80d17af

Please sign in to comment.