Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-02-21 23:09:08 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-02-21 23:09:08 +0300
commit72e745be26647b1ce1ca3240cb2ffbe20cfe91dc (patch)
tree1c223aeb0c2a1081409e6acaaf67c11eb7cf5071 /tests/lib/IntegrityCheck
parent4d5f2e64a5c6b76d4c74b595b93bfcfc850f553a (diff)
Handle strict typing in Checker and fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/IntegrityCheck')
-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')