Skip to content

Commit 20fa327

Browse files
committed
Fix missing grabHeaders test
1 parent 93d06e6 commit 20fa327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/MailHogTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public function testGrabHeaders(): void
310310
->getMock();
311311
$response->expects(self::atLeastOnce())
312312
->method('getBody')
313-
->willReturn(json_encode(json_decode(self::$jsonEmail)[0]));
313+
->willReturn(Utils::streamFor(json_encode(json_decode(self::$jsonEmail)[0])));
314314

315315
/** @var MockObject&ClientInterface $client */
316316
$client = $this->getMockBuilder(Client::class)

0 commit comments

Comments
 (0)