Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weimann <mail@michael-weimann.eu>2018-08-28 16:58:27 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-10-02 09:37:54 +0300
commitd855c38e078f2cd0bec86d5a20fc2f448799433b (patch)
tree68f4adfc1ff3a97273fbc47e9584d922e70c4b61 /apps/theming/tests
parent92049c3ceb4121c6e424e8ba902cc6ebc663c690 (diff)
Moves the logo files to logo
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'apps/theming/tests')
-rw-r--r--apps/theming/tests/ImageManagerTest.php6
-rw-r--r--apps/theming/tests/ThemingDefaultsTest.php4
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/theming/tests/ImageManagerTest.php b/apps/theming/tests/ImageManagerTest.php
index 38f5fb04969..fc9eac7f143 100644
--- a/apps/theming/tests/ImageManagerTest.php
+++ b/apps/theming/tests/ImageManagerTest.php
@@ -144,9 +144,9 @@ class ImageManagerTest extends TestCase {
->willReturnOnConsecutiveCalls(0, false);
$this->urlGenerator->expects($this->once())
->method('imagePath')
- ->with('core', 'logo.png')
- ->willReturn('logo.png');
- $this->assertEquals('logo.png?v=0', $this->imageManager->getImageUrl('logo'));
+ ->with('core', 'logo/logo.png')
+ ->willReturn('logo/logo.png');
+ $this->assertEquals('logo/logo.png?v=0', $this->imageManager->getImageUrl('logo'));
}
public function testGetImageUrlAbsolute() {
diff --git a/apps/theming/tests/ThemingDefaultsTest.php b/apps/theming/tests/ThemingDefaultsTest.php
index fc3a737c3c8..3da39fbbf2f 100644
--- a/apps/theming/tests/ThemingDefaultsTest.php
+++ b/apps/theming/tests/ThemingDefaultsTest.php
@@ -593,11 +593,11 @@ class ThemingDefaultsTest extends TestCase {
}
public function testGetLogoDefaultWithSvg() {
- $this->getLogoHelper('logo.svg', true);
+ $this->getLogoHelper('logo/logo.svg', true);
}
public function testGetLogoDefaultWithoutSvg() {
- $this->getLogoHelper('logo.png', false);
+ $this->getLogoHelper('logo/logo.png', false);
}
public function testGetLogoCustom() {