There was an error while loading. Please reload this page.
1 parent afa8549 commit 75f9edaCopy full SHA for 75f9eda
1 file changed
tests/lib/Files/ViewTest.php
@@ -1183,6 +1183,9 @@ private function doTestCopyRenameFail($operation) {
1183
$storage2->method('writeStream')
1184
->willThrowException(new GenericFileException('Failed to copy stream'));
1185
1186
+ $storage2->method('fopen')
1187
+ ->willReturn(false);
1188
+
1189
$storage1->mkdir('sub');
1190
$storage1->file_put_contents('foo.txt', '0123456789ABCDEFGH');
1191
$storage1->mkdir('dirtomove');
0 commit comments