Browse Source

Fix tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
tags/v13.0.0beta1
Julius Härtl 6 years ago
parent
commit
81ef116bfb
No account linked to committer's email address
1 changed files with 1 additions and 6 deletions
  1. 1
    6
      apps/theming/tests/ThemingDefaultsTest.php

+ 1
- 6
apps/theming/tests/ThemingDefaultsTest.php View File

@@ -623,15 +623,10 @@ class ThemingDefaultsTest extends TestCase {

/** @dataProvider dataReplaceImagePath */
public function testReplaceImagePath($app, $image, $result = 'themingRoute?v=0') {
$cache = $this->createMock(ICache::class);
$cache->expects($this->any())
$this->cache->expects($this->any())
->method('get')
->with('shouldReplaceIcons')
->willReturn(true);
$this->cacheFactory->expects($this->any())
->method('create')
->with('theming')
->willReturn($cache);
$this->config
->expects($this->any())
->method('getAppValue')

Loading…
Cancel
Save