summaryrefslogtreecommitdiffstats
path: root/apps/theming/tests/Themes/DefaultThemeTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/tests/Themes/DefaultThemeTest.php')
-rw-r--r--apps/theming/tests/Themes/DefaultThemeTest.php19
1 files changed, 1 insertions, 18 deletions
diff --git a/apps/theming/tests/Themes/DefaultThemeTest.php b/apps/theming/tests/Themes/DefaultThemeTest.php
index 5086c5da8ee..160efdba142 100644
--- a/apps/theming/tests/Themes/DefaultThemeTest.php
+++ b/apps/theming/tests/Themes/DefaultThemeTest.php
@@ -20,7 +20,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-namespace OCA\Theming\Tests;
+namespace OCA\Theming\Tests\Service;
use OC\App\AppManager;
use OCA\Theming\ImageManager;
@@ -68,23 +68,6 @@ class DefaultThemeTest extends TestCase {
->method('getColorPrimary')
->willReturn('#0082c9');
- $this->imageManager->expects($this->any())
- ->method('getImageUrl')
- ->willReturnCallback(function (string $name): string {
- switch ($name) {
- case 'logo':
- case 'logoheader':
- case 'favicon':
- return '/core/img/logo/logo.png?v=0';
- case 'background':
- case 'login-background':
- return '/core/img/background.png?v=0';
- default:
- return '';
- }
- });
-
-
$this->l10n
->expects($this->any())
->method('t')