There was an error while loading. Please reload this page.
1 parent 31fa386 commit 22bde5dCopy full SHA for 22bde5d
1 file changed
apps/files/tests/Command/DeleteOrphanedFilesTest.php
@@ -13,6 +13,7 @@
13
use OCA\Files\Command\DeleteOrphanedFiles;
14
use OCP\Console\IOutput;
15
use OCP\Files\IRootFolder;
16
+use OCP\Files\NotFoundException;
17
use OCP\Files\StorageNotAvailableException;
18
use OCP\IDBConnection;
19
use OCP\IUserManager;
@@ -50,7 +51,7 @@ protected function tearDown(): void {
50
51
try {
52
$view = new View('/' . $this->user1 . '/files');
53
$view->unlink('test');
- } catch (StorageNotAvailableException $e) {
54
+ } catch (StorageNotAvailableException|NotFoundException $e) {
55
}
56
57
$userManager = Server::get(IUserManager::class);
0 commit comments