diff options
Diffstat (limited to 'apps/theming/tests')
-rw-r--r-- | apps/theming/tests/Controller/ThemingControllerTest.php | 6 | ||||
-rw-r--r-- | apps/theming/tests/ImageManagerTest.php | 2 | ||||
-rw-r--r-- | apps/theming/tests/ThemingDefaultsTest.php | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/theming/tests/Controller/ThemingControllerTest.php b/apps/theming/tests/Controller/ThemingControllerTest.php index 5c6763cdd17..18d2d0d4984 100644 --- a/apps/theming/tests/Controller/ThemingControllerTest.php +++ b/apps/theming/tests/Controller/ThemingControllerTest.php @@ -356,7 +356,7 @@ class ThemingControllerTest extends TestCase { } /** @dataProvider dataUpdateImages */ - public function testUpdateLogoNormalLogoUpload($mimeType, $folderExists=true) { + public function testUpdateLogoNormalLogoUpload($mimeType, $folderExists = true) { $tmpLogo = \OC::$server->getTempManager()->getTemporaryFolder() . '/logo.svg'; $destination = \OC::$server->getTempManager()->getTemporaryFolder(); @@ -816,8 +816,8 @@ class ThemingControllerTest extends TestCase { [ [ 'src' => 'touchicon?v=0', - 'type'=> 'image/png', - 'sizes'=> '128x128' + 'type' => 'image/png', + 'sizes' => '128x128' ], [ 'src' => 'favicon?v=0', diff --git a/apps/theming/tests/ImageManagerTest.php b/apps/theming/tests/ImageManagerTest.php index 81f4a8b98db..08a8fe821f0 100644 --- a/apps/theming/tests/ImageManagerTest.php +++ b/apps/theming/tests/ImageManagerTest.php @@ -312,7 +312,7 @@ class ImageManagerTest extends TestCase { $this->createMock(ISimpleFolder::class), $this->createMock(ISimpleFolder::class) ]; - foreach ($folders as $index=>$folder) { + foreach ($folders as $index => $folder) { $folder->expects($this->any()) ->method('getName') ->willReturn($index); diff --git a/apps/theming/tests/ThemingDefaultsTest.php b/apps/theming/tests/ThemingDefaultsTest.php index fecde372622..066b8b8ff8d 100644 --- a/apps/theming/tests/ThemingDefaultsTest.php +++ b/apps/theming/tests/ThemingDefaultsTest.php @@ -644,8 +644,8 @@ class ThemingDefaultsTest extends TestCase { ->method('createDistributed') ->with('theming-') ->willReturn($this->cache); - $this->cache->expects($this->once())->method('get')->with('getScssVariables')->willReturn(['foo'=>'bar']); - $this->assertEquals(['foo'=>'bar'], $this->template->getScssVariables()); + $this->cache->expects($this->once())->method('get')->with('getScssVariables')->willReturn(['foo' => 'bar']); + $this->assertEquals(['foo' => 'bar'], $this->template->getScssVariables()); } public function testGetScssVariables() { |