summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-11-01 15:37:29 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-11-01 15:37:29 +0100
commite2805f02aa51c602c581bd4f09b99dd791a42df4 (patch)
tree4ea194f47aa315874c2aac31c30dbdb14110539b /apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php
parent2b4b3b1986e58305c08941f77a693a80cc3d5b85 (diff)
parent52b679a2d6f6b273f46334b15534ab312f974a1a (diff)
downloadnextcloud-server-e2805f02aa51c602c581bd4f09b99dd791a42df4.tar.gz
nextcloud-server-e2805f02aa51c602c581bd4f09b99dd791a42df4.zip
Merge branch 'master' into autocomplete-gui
Diffstat (limited to 'apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php')
-rw-r--r--apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php b/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php
index 827fcc15797..5480874615e 100644
--- a/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php
+++ b/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php
@@ -22,6 +22,8 @@
namespace OCA\Files_Sharing\Tests\Command;
use OCA\Files_Sharing\Command\CleanupRemoteStorages;
+use Symfony\Component\Console\Input\InputInterface;
+use Symfony\Component\Console\Output\OutputInterface;
use Test\TestCase;
/**
@@ -158,10 +160,10 @@ class CleanupRemoteStoragesTest extends TestCase {
* Test cleanup of orphaned storages
*/
public function testCleanup() {
- $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();