diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-09 14:43:54 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-09 14:43:54 +0100 |
commit | 43243380f1b29e7a927b5e589c052e4b64b22b5d (patch) | |
tree | 92e6b0bff8ba7873f7f193d37ceb58b94fa9d5a6 /tests/lib | |
parent | 88e9542d12827461d74fb9d0e72694f5f8911f45 (diff) | |
download | nextcloud-server-43243380f1b29e7a927b5e589c052e4b64b22b5d.tar.gz nextcloud-server-43243380f1b29e7a927b5e589c052e4b64b22b5d.zip |
Always return the depscache
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/Template/SCSSCacherTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Template/SCSSCacherTest.php b/tests/lib/Template/SCSSCacherTest.php index 169ee26802a..9eb6c5a5200 100644 --- a/tests/lib/Template/SCSSCacherTest.php +++ b/tests/lib/Template/SCSSCacherTest.php @@ -65,7 +65,7 @@ class SCSSCacherTest extends \Test\TestCase { $this->config = $this->createMock(IConfig::class); $this->cacheFactory = $this->createMock(ICacheFactory::class); $this->depsCache = $this->createMock(ICache::class); - $this->cacheFactory->expects($this->at(0)) + $this->cacheFactory ->method('createDistributed') ->willReturn($this->depsCache); $this->themingDefaults = $this->createMock(ThemingDefaults::class); |