Skip to content

Commit

Permalink
Merge pull request #3123 from solventt/replace-setMethods
Browse files Browse the repository at this point in the history
Replace deprecated setMethods() in tests
  • Loading branch information
l0gicgate committed Oct 19, 2021
2 parents 44d3c9c + 9841374 commit a5c3681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ResponseEmitterTest.php
Expand Up @@ -112,7 +112,7 @@ public function testRespondIndeterminateLength()
$body = $this
->getMockBuilder(MockStream::class)
->setConstructorArgs([$stream])
->setMethods(['getSize'])
->onlyMethods(['getSize'])
->getMock();
$body->method('getSize')->willReturn(null);

Expand Down

0 comments on commit a5c3681

Please sign in to comment.