From 72e745be26647b1ce1ca3240cb2ffbe20cfe91dc Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 21 Feb 2018 21:09:08 +0100 Subject: Handle strict typing in Checker and fix tests Signed-off-by: Roeland Jago Douma --- tests/lib/IntegrityCheck/CheckerTest.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/lib') 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') -- cgit v1.2.3