We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93d06e6 commit 20fa327Copy full SHA for 20fa327
tests/MailHogTest.php
@@ -310,7 +310,7 @@ public function testGrabHeaders(): void
310
->getMock();
311
$response->expects(self::atLeastOnce())
312
->method('getBody')
313
- ->willReturn(json_encode(json_decode(self::$jsonEmail)[0]));
+ ->willReturn(Utils::streamFor(json_encode(json_decode(self::$jsonEmail)[0])));
314
315
/** @var MockObject&ClientInterface $client */
316
$client = $this->getMockBuilder(Client::class)
0 commit comments