aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Core/Command
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-01-12 10:49:22 +0100
committerJoas Schilling <coding@schilljs.com>2017-01-12 10:49:22 +0100
commit5dc6899d1a3e11841b62971a52f0aa8e577c3065 (patch)
treeb552bb09b3d62d3e371c19737af62ddc02f88742 /tests/Core/Command
parentce7836378cf973ecebdd6d7790f9b3994f0e88f4 (diff)
downloadnextcloud-server-5dc6899d1a3e11841b62971a52f0aa8e577c3065.tar.gz
nextcloud-server-5dc6899d1a3e11841b62971a52f0aa8e577c3065.zip
Fix tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/Core/Command')
-rw-r--r--tests/Core/Command/Config/ListConfigsTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Core/Command/Config/ListConfigsTest.php b/tests/Core/Command/Config/ListConfigsTest.php
index 0f170cee840..861c1f59d5e 100644
--- a/tests/Core/Command/Config/ListConfigsTest.php
+++ b/tests/Core/Command/Config/ListConfigsTest.php
@@ -285,10 +285,16 @@ class ListConfigsTest extends TestCase {
$this->systemConfig->expects($this->any())
->method('getValue')
->willReturnMap($systemConfigMap);
+ $this->appConfig->expects($this->any())
+ ->method('getValues')
+ ->willReturnMap($appConfig);
} else {
$this->systemConfig->expects($this->any())
->method('getFilteredValue')
->willReturnMap($systemConfigMap);
+ $this->appConfig->expects($this->any())
+ ->method('getFilteredValues')
+ ->willReturnMap($appConfig);
}
$this->appConfig->expects($this->any())