Skip to content

Commit 164192b

Browse files
committed
fix mocked method
1 parent 322f256 commit 164192b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/ChromeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ private function getMockedProcess()
1313
$proc = $this->createMock(Process::class, ['mustRun']);
1414
$proc->expects($this->once())
1515
->method('mustRun')
16-
->willReturn('rendered-pdf');
16+
->will($this->returnSelf());
1717
return $proc;
1818
}
1919

0 commit comments

Comments
 (0)