diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-02-22 10:01:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-22 10:01:50 +0100 |
commit | e1bdeb786e785f48b579701d5a9d6e759240dd8f (patch) | |
tree | 35b98e91759b21edff3e6030a519941415169670 /tests | |
parent | a660946ac65b111e94794d11dd55d87ad2a0cc51 (diff) | |
parent | 72e745be26647b1ce1ca3240cb2ffbe20cfe91dc (diff) | |
download | nextcloud-server-e1bdeb786e785f48b579701d5a9d6e759240dd8f.tar.gz nextcloud-server-e1bdeb786e785f48b579701d5a9d6e759240dd8f.zip |
Merge pull request #8472 from nextcloud/strict_integritycheck
Make OC\IntegrityCheck strict
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/IntegrityCheck/CheckerTest.php | 3 |
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') |