aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Template
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 09:22:29 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 10:16:08 +0200
commit2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b (patch)
treea3da09ffec08d6c8abc3bf0fabb7f8c8a1c830f6 /tests/lib/Template
parent1575bd838f2e938b18b04bcdcc28e2fc24d95c45 (diff)
downloadnextcloud-server-2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b.tar.gz
nextcloud-server-2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b.zip
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/Template')
-rw-r--r--tests/lib/Template/CSSResourceLocatorTest.php12
-rw-r--r--tests/lib/Template/JSResourceLocatorTest.php8
2 files changed, 10 insertions, 10 deletions
diff --git a/tests/lib/Template/CSSResourceLocatorTest.php b/tests/lib/Template/CSSResourceLocatorTest.php
index 7aa1eb177d7..8c1eb66d303 100644
--- a/tests/lib/Template/CSSResourceLocatorTest.php
+++ b/tests/lib/Template/CSSResourceLocatorTest.php
@@ -69,8 +69,8 @@ class CSSResourceLocatorTest extends \Test\TestCase {
private function cssResourceLocator() {
/** @var Factory|\PHPUnit_Framework_MockObject_MockObject $factory */
- $factory = $this->createMock(Factory::class);
- $factory->method('get')->with('css')->willReturn($this->appData);
+ $factory = $this->createMock(Factory::class);
+ $factory->method('get')->with('css')->willReturn($this->appData);
$scssCacher = new SCSSCacher(
$this->logger,
$factory,
@@ -130,10 +130,10 @@ class CSSResourceLocatorTest extends \Test\TestCase {
// Use the symlink as the app path
\OC::$APPSROOTS[] = [
- 'path' => $new_apps_path_symlink,
- 'url' => '/css-apps-test',
- 'writable' => false,
- ];
+ 'path' => $new_apps_path_symlink,
+ 'url' => '/css-apps-test',
+ 'writable' => false,
+ ];
$locator = $this->cssResourceLocator();
$locator->find(['test-css-app/test-file']);
diff --git a/tests/lib/Template/JSResourceLocatorTest.php b/tests/lib/Template/JSResourceLocatorTest.php
index 8c8fc99c961..0e6b217ec52 100644
--- a/tests/lib/Template/JSResourceLocatorTest.php
+++ b/tests/lib/Template/JSResourceLocatorTest.php
@@ -110,10 +110,10 @@ class JSResourceLocatorTest extends \Test\TestCase {
// Use the symlink as the app path
\OC::$APPSROOTS[] = [
- 'path' => $new_apps_path_symlink,
- 'url' => '/js-apps-test',
- 'writable' => false,
- ];
+ 'path' => $new_apps_path_symlink,
+ 'url' => '/js-apps-test',
+ 'writable' => false,
+ ];
$locator = $this->jsResourceLocator();
$locator->find(['test-js-app/test-file']);