summaryrefslogtreecommitdiffstats
path: root/apps/files/tests/Command/DeleteOrphanedFilesTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/tests/Command/DeleteOrphanedFilesTest.php')
-rw-r--r--apps/files/tests/Command/DeleteOrphanedFilesTest.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files/tests/Command/DeleteOrphanedFilesTest.php b/apps/files/tests/Command/DeleteOrphanedFilesTest.php
index 32c8d628a80..8c48b9feca7 100644
--- a/apps/files/tests/Command/DeleteOrphanedFilesTest.php
+++ b/apps/files/tests/Command/DeleteOrphanedFilesTest.php
@@ -27,6 +27,8 @@ namespace OCA\Files\Tests\Command;
use OC\Files\View;
use OCA\Files\Command\DeleteOrphanedFiles;
use OCP\Files\StorageNotAvailableException;
+use Symfony\Component\Console\Input\InputInterface;
+use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
/**
@@ -87,10 +89,10 @@ class DeleteOrphanedFilesTest extends TestCase {
* Test clearing orphaned files
*/
public function testClearFiles() {
- $input = $this->getMockBuilder('Symfony\Component\Console\Input\InputInterface')
+ $input = $this->getMockBuilder(InputInterface::class)
->disableOriginalConstructor()
->getMock();
- $output = $this->getMockBuilder('Symfony\Component\Console\Output\OutputInterface')
+ $output = $this->getMockBuilder(OutputInterface::class)
->disableOriginalConstructor()
->getMock();