From a023af2e387d4ed169eadb81803602361f983063 Mon Sep 17 00:00:00 2001 From: mapogolions Date: Thu, 15 Aug 2019 14:31:43 +0500 Subject: [PATCH] Make changes to legacy prophecy objects --- tests/AppTest.php | 2 ++ 1 file changed, 2 insertions(+) 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();