summaryrefslogtreecommitdiffstats
path: root/tests/lib/Repair
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-04 08:48:33 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-13 16:10:45 +0200
commit9a9409e31583c0fdd7c0bfe67f5f9177c7651830 (patch)
treee7e773ec86c9aca5d0939fc4e1df8c8b59f09f63 /tests/lib/Repair
parentf4058a2432f748ffff6d7e45f2fb79ca383f8dd1 (diff)
downloadnextcloud-server-9a9409e31583c0fdd7c0bfe67f5f9177c7651830.tar.gz
nextcloud-server-9a9409e31583c0fdd7c0bfe67f5f9177c7651830.zip
Remove SCSSCacher
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'tests/lib/Repair')
-rw-r--r--tests/lib/Repair/ClearFrontendCachesTest.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/lib/Repair/ClearFrontendCachesTest.php b/tests/lib/Repair/ClearFrontendCachesTest.php
index 9acd1f4df17..d89a19e70cc 100644
--- a/tests/lib/Repair/ClearFrontendCachesTest.php
+++ b/tests/lib/Repair/ClearFrontendCachesTest.php
@@ -24,7 +24,6 @@
namespace Test\Repair;
use OC\Template\JSCombiner;
-use OC\Template\SCSSCacher;
use OCP\ICache;
use OCP\ICacheFactory;
use OCP\Migration\IOutput;
@@ -34,9 +33,6 @@ class ClearFrontendCachesTest extends \Test\TestCase {
/** @var ICacheFactory */
private $cacheFactory;
- /** @var SCSSCacher */
- private $scssCacher;
-
/** @var JSCombiner */
private $jsCombiner;
@@ -52,10 +48,9 @@ class ClearFrontendCachesTest extends \Test\TestCase {
$this->outputMock = $this->createMock(IOutput::class);
$this->cacheFactory = $this->createMock(ICacheFactory::class);
- $this->scssCacher = $this->createMock(SCSSCacher::class);
$this->jsCombiner = $this->createMock(JSCombiner::class);
- $this->repair = new \OC\Repair\ClearFrontendCaches($this->cacheFactory, $this->scssCacher, $this->jsCombiner);
+ $this->repair = new \OC\Repair\ClearFrontendCaches($this->cacheFactory, $this->jsCombiner);
}
@@ -66,8 +61,6 @@ class ClearFrontendCachesTest extends \Test\TestCase {
->with('');
$this->jsCombiner->expects($this->once())
->method('resetCache');
- $this->scssCacher->expects($this->once())
- ->method('resetCache');
$this->cacheFactory->expects($this->at(0))
->method('createDistributed')
->with('imagePath')