diff --git a/tests/AppTest.php b/tests/AppTest.php index d987a4315..571d17ec1 100644 --- a/tests/AppTest.php +++ b/tests/AppTest.php @@ -1564,6 +1564,7 @@ public function testRun() $body .= $args[0]; $this->__toString()->willReturn($body); }); + $streamProphecy->read(1)->willReturn('_'); $streamProphecy->read('11')->will(function () { $this->eof()->willReturn(true); return $this->reveal()->__toString(); @@ -1616,6 +1617,7 @@ public function testRunWithoutPassingInServerRequest() $body .= $args[0]; $this->__toString()->willReturn($body); }); + $streamProphecy->read(1)->willReturn('_'); $streamProphecy->read('11')->will(function () { $this->eof()->willReturn(true); return $this->reveal()->__toString();