Skip to content

Commit

Permalink
Make changes to legacy prophecy objects
Browse files Browse the repository at this point in the history
  • Loading branch information
mapogolions committed Aug 15, 2019
1 parent d10ac81 commit a023af2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/AppTest.php
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit a023af2

Please sign in to comment.