diff options
author | Julius Härtl <jus@bitgrid.net> | 2017-09-12 09:47:38 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2017-09-12 09:47:38 +0200 |
commit | 81ef116bfb9e69f361ded5c6dd8a8ae472909fd6 (patch) | |
tree | c140b6c5306f04a519b790644a878d57702db967 /apps/theming/tests | |
parent | 8391ca8792dace13ba4cf5ebd43d9ea0931b7b2a (diff) | |
download | nextcloud-server-81ef116bfb9e69f361ded5c6dd8a8ae472909fd6.tar.gz nextcloud-server-81ef116bfb9e69f361ded5c6dd8a8ae472909fd6.zip |
Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/tests')
-rw-r--r-- | apps/theming/tests/ThemingDefaultsTest.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/theming/tests/ThemingDefaultsTest.php b/apps/theming/tests/ThemingDefaultsTest.php index b1d86bff432..abd85a612c9 100644 --- a/apps/theming/tests/ThemingDefaultsTest.php +++ b/apps/theming/tests/ThemingDefaultsTest.php @@ -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') |