We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c006ff commit 743cae2Copy full SHA for 743cae2
apps/files/tests/Command/DeleteOrphanedFilesTest.php
@@ -11,6 +11,7 @@
11
use OC\Files\View;
12
use OCA\Files\Command\DeleteOrphanedFiles;
13
use OCP\Files\IRootFolder;
14
+use OCP\Files\NotFoundException;
15
use OCP\Files\StorageNotAvailableException;
16
use OCP\IDBConnection;
17
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