diff options
Diffstat (limited to 'tests/Core/Command/Config/App/GetConfigTest.php')
-rw-r--r-- | tests/Core/Command/Config/App/GetConfigTest.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Core/Command/Config/App/GetConfigTest.php b/tests/Core/Command/Config/App/GetConfigTest.php index c1a6265db40..33e50699bbe 100644 --- a/tests/Core/Command/Config/App/GetConfigTest.php +++ b/tests/Core/Command/Config/App/GetConfigTest.php @@ -101,6 +101,11 @@ class GetConfigTest extends TestCase { ->method('getDetails') ->with('app-name', $configName) ->willReturn(['value' => $value]); + } else { + $this->config->expects($this->once()) + ->method('getValueMixed') + ->with('app-name', $configName, $defaultValue) + ->willReturn($defaultValue); } } |