mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
8391ca8792
commit
81ef116bfb
1 changed files with 1 additions and 6 deletions
|
|
@ -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…
Reference in a new issue