Fix writeStream mocking
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
2f6b2b6fa4
commit
865e4ab0ec
|
@ -1163,7 +1163,7 @@ class ViewTest extends \Test\TestCase {
|
|||
/** @var \PHPUnit\Framework\MockObject\MockObject|Temporary $storage2 */
|
||||
$storage2 = $this->getMockBuilder(TemporaryNoCross::class)
|
||||
->setConstructorArgs([[]])
|
||||
->setMethods(['fopen'])
|
||||
->setMethods(['fopen', 'writeStream'])
|
||||
->getMock();
|
||||
|
||||
$storage2->method('writeStream')
|
||||
|
|
Loading…
Reference in New Issue