aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/IntegrityCheck/CheckerTest.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-02-21 21:09:08 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-02-21 21:09:08 +0100
commit72e745be26647b1ce1ca3240cb2ffbe20cfe91dc (patch)
tree1c223aeb0c2a1081409e6acaaf67c11eb7cf5071 /tests/lib/IntegrityCheck/CheckerTest.php
parent4d5f2e64a5c6b76d4c74b595b93bfcfc850f553a (diff)
downloadnextcloud-server-72e745be26647b1ce1ca3240cb2ffbe20cfe91dc.tar.gz
nextcloud-server-72e745be26647b1ce1ca3240cb2ffbe20cfe91dc.zip
Handle strict typing in Checker and fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/IntegrityCheck/CheckerTest.php')
-rw-r--r--tests/lib/IntegrityCheck/CheckerTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/IntegrityCheck/CheckerTest.php b/tests/lib/IntegrityCheck/CheckerTest.php
index 09e6990a0f3..71a9935008b 100644
--- a/tests/lib/IntegrityCheck/CheckerTest.php
+++ b/tests/lib/IntegrityCheck/CheckerTest.php
@@ -58,6 +58,9 @@ class CheckerTest extends TestCase {
$this->cacheFactory = $this->createMock(ICacheFactory::class);
$this->appManager = $this->createMock(IAppManager::class);
+ $this->config->method('getAppValue')
+ ->will($this->returnArgument(2));
+
$this->cacheFactory
->expects($this->any())
->method('createDistributed')