diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2021-10-15 11:04:38 +0200 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2021-10-18 12:39:43 +0200 |
commit | facb50ebcc1f4a9fef8be746717272ef24103007 (patch) | |
tree | a61d8d3dc9ba640ddb519112a12816573e57ff94 /apps/settings/tests | |
parent | 643e85cfe81ac079bd2e5bcf1a344a20319f48db (diff) | |
download | nextcloud-server-facb50ebcc1f4a9fef8be746717272ef24103007.tar.gz nextcloud-server-facb50ebcc1f4a9fef8be746717272ef24103007.zip |
fix appstoreenabled check in Fetcher so it's coherent with AppSettingsController
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'apps/settings/tests')
-rw-r--r-- | apps/settings/tests/Controller/AppSettingsControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/tests/Controller/AppSettingsControllerTest.php b/apps/settings/tests/Controller/AppSettingsControllerTest.php index e273375d76d..28d77dc3696 100644 --- a/apps/settings/tests/Controller/AppSettingsControllerTest.php +++ b/apps/settings/tests/Controller/AppSettingsControllerTest.php @@ -190,7 +190,7 @@ class AppSettingsControllerTest extends TestCase { ->willReturn(false); $this->config ->expects($this->once()) - ->method('getSystemValue') + ->method('getSystemValueBool') ->with('appstoreenabled', true) ->willReturn(true); $this->navigationManager @@ -224,7 +224,7 @@ class AppSettingsControllerTest extends TestCase { $this->bundleFetcher->expects($this->once())->method('getBundles')->willReturn([]); $this->config ->expects($this->once()) - ->method('getSystemValue') + ->method('getSystemValueBool') ->with('appstoreenabled', true) ->willReturn(false); $this->navigationManager |