summaryrefslogtreecommitdiffstats
path: root/apps/files/tests
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-04-09 11:25:38 +0200
committerGitHub <noreply@github.com>2020-04-09 11:25:38 +0200
commit813bdc1ce8a45039fa17aac12bd078466a0034d0 (patch)
treea2ea40c4afc7f4c188d008d9850e795e60ae020d /apps/files/tests
parent21b7e510102514d85558b1863759c20171c15e28 (diff)
parent2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b (diff)
downloadnextcloud-server-813bdc1ce8a45039fa17aac12bd078466a0034d0.tar.gz
nextcloud-server-813bdc1ce8a45039fa17aac12bd078466a0034d0.zip
Merge pull request #20375 from nextcloud/techdebt/fix-array-indent-style
Fix (array) indent style to always use one tab
Diffstat (limited to 'apps/files/tests')
-rw-r--r--apps/files/tests/BackgroundJob/ScanFilesTest.php6
-rw-r--r--apps/files/tests/Controller/ViewControllerTest.php26
2 files changed, 16 insertions, 16 deletions
diff --git a/apps/files/tests/BackgroundJob/ScanFilesTest.php b/apps/files/tests/BackgroundJob/ScanFilesTest.php
index f2220e6276d..b236f753adb 100644
--- a/apps/files/tests/BackgroundJob/ScanFilesTest.php
+++ b/apps/files/tests/BackgroundJob/ScanFilesTest.php
@@ -52,8 +52,8 @@ class ScanFilesTest extends TestCase {
$this->scanFiles = $this->getMockBuilder('\OCA\Files\BackgroundJob\ScanFiles')
->setConstructorArgs([
- $this->config,
- $this->userManager,
+ $this->config,
+ $this->userManager,
])
->setMethods(['runScanner'])
->getMock();
@@ -105,7 +105,7 @@ class ScanFilesTest extends TestCase {
->method('search')
->with('', 500, 50)
->willReturn([
- $fakeUser
+ $fakeUser
]);
$this->config
->expects($this->at(2))
diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php
index 8f2f8fe9ec1..c00f30c890a 100644
--- a/apps/files/tests/Controller/ViewControllerTest.php
+++ b/apps/files/tests/Controller/ViewControllerTest.php
@@ -99,17 +99,17 @@ class ViewControllerTest extends TestCase {
$this->activityHelper = $this->createMock(Helper::class);
$this->viewController = $this->getMockBuilder('\OCA\Files\Controller\ViewController')
->setConstructorArgs([
- 'files',
- $this->request,
- $this->urlGenerator,
- $this->l10n,
- $this->config,
- $this->eventDispatcher,
- $this->userSession,
- $this->appManager,
- $this->rootFolder,
- $this->activityHelper,
- ])
+ 'files',
+ $this->request,
+ $this->urlGenerator,
+ $this->l10n,
+ $this->config,
+ $this->eventDispatcher,
+ $this->userSession,
+ $this->appManager,
+ $this->rootFolder,
+ $this->activityHelper,
+ ])
->setMethods([
'getStorageInfo',
'renderScript'
@@ -262,14 +262,14 @@ class ViewControllerTest extends TestCase {
'classes' => 'collapsible',
'sublist' => [
[
- 'id' => 'sharingout',
+ 'id' => 'sharingout',
'appname' => 'files_sharing',
'script' => 'list.php',
'order' => 16,
'name' => \OC::$server->getL10N('files_sharing')->t('Shared with others'),
],
[
- 'id' => 'sharingin',
+ 'id' => 'sharingin',
'appname' => 'files_sharing',
'script' => 'list.php',
'order' => 15,