diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-02-03 12:41:21 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-02-03 15:21:51 +0100 |
commit | b87e5a0f2e158d7aad91ba8e58b246e3666f6cbf (patch) | |
tree | d3c06a29ae403ad2fc042c848931f32af77b8b16 /tests/lib/Repair | |
parent | 5460166ff5440e9750870470afbd861c65b2b41e (diff) | |
download | nextcloud-server-b87e5a0f2e158d7aad91ba8e58b246e3666f6cbf.tar.gz nextcloud-server-b87e5a0f2e158d7aad91ba8e58b246e3666f6cbf.zip |
Move depsCache clearing to SCSSCacher/JSCombiner
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests/lib/Repair')
-rw-r--r-- | tests/lib/Repair/ClearFrontendCachesTest.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/lib/Repair/ClearFrontendCachesTest.php b/tests/lib/Repair/ClearFrontendCachesTest.php index 393e1de4f54..7c3a54cf1db 100644 --- a/tests/lib/Repair/ClearFrontendCachesTest.php +++ b/tests/lib/Repair/ClearFrontendCachesTest.php @@ -63,14 +63,6 @@ class ClearFrontendCachesTest extends \Test\TestCase { $imagePathCache->expects($this->once()) ->method('clear') ->with(''); - $jsCache = $this->createMock(ICache::class); - $jsCache->expects($this->once()) - ->method('clear') - ->with(''); - $cssCache = $this->createMock(ICache::class); - $cssCache->expects($this->once()) - ->method('clear') - ->with(''); $this->jsCombiner->expects($this->once()) ->method('resetCache'); $this->scssCacher->expects($this->once()) @@ -79,14 +71,6 @@ class ClearFrontendCachesTest extends \Test\TestCase { ->method('createDistributed') ->with('imagePath') ->willReturn($imagePathCache); - $this->cacheFactory->expects($this->at(1)) - ->method('createDistributed') - ->with('SCSS') - ->willReturn($cssCache); - $this->cacheFactory->expects($this->at(2)) - ->method('createDistributed') - ->with('JS') - ->willReturn($jsCache); $this->repair->run($this->outputMock); $this->assertTrue(true); |