parent
8391ca8792
commit
81ef116bfb
|
@ -623,15 +623,10 @@ class ThemingDefaultsTest extends TestCase {
|
||||||
|
|
||||||
/** @dataProvider dataReplaceImagePath */
|
/** @dataProvider dataReplaceImagePath */
|
||||||
public function testReplaceImagePath($app, $image, $result = 'themingRoute?v=0') {
|
public function testReplaceImagePath($app, $image, $result = 'themingRoute?v=0') {
|
||||||
$cache = $this->createMock(ICache::class);
|
$this->cache->expects($this->any())
|
||||||
$cache->expects($this->any())
|
|
||||||
->method('get')
|
->method('get')
|
||||||
->with('shouldReplaceIcons')
|
->with('shouldReplaceIcons')
|
||||||
->willReturn(true);
|
->willReturn(true);
|
||||||
$this->cacheFactory->expects($this->any())
|
|
||||||
->method('create')
|
|
||||||
->with('theming')
|
|
||||||
->willReturn($cache);
|
|
||||||
$this->config
|
$this->config
|
||||||
->expects($this->any())
|
->expects($this->any())
|
||||||
->method('getAppValue')
|
->method('getAppValue')
|
||||||
|
|
Loading…
Reference in New Issue