summaryrefslogtreecommitdiffstats
path: root/apps/settings/tests/Controller/AppSettingsControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/tests/Controller/AppSettingsControllerTest.php')
-rw-r--r--apps/settings/tests/Controller/AppSettingsControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings/tests/Controller/AppSettingsControllerTest.php b/apps/settings/tests/Controller/AppSettingsControllerTest.php
index 1e386fbaa40..4e7970027ed 100644
--- a/apps/settings/tests/Controller/AppSettingsControllerTest.php
+++ b/apps/settings/tests/Controller/AppSettingsControllerTest.php
@@ -90,7 +90,7 @@ class AppSettingsControllerTest extends TestCase {
$this->l10n = $this->createMock(IL10N::class);
$this->l10n->expects($this->any())
->method('t')
- ->will($this->returnArgument(0));
+ ->willReturnArgument(0);
$this->config = $this->createMock(IConfig::class);
$this->navigationManager = $this->createMock(INavigationManager::class);
$this->appManager = $this->createMock(IAppManager::class);
@@ -193,7 +193,7 @@ class AppSettingsControllerTest extends TestCase {
->expects($this->once())
->method('getSystemValue')
->with('appstoreenabled', true)
- ->will($this->returnValue(true));
+ ->willReturn(true);
$this->navigationManager
->expects($this->once())
->method('setActiveEntry')
@@ -227,7 +227,7 @@ class AppSettingsControllerTest extends TestCase {
->expects($this->once())
->method('getSystemValue')
->with('appstoreenabled', true)
- ->will($this->returnValue(false));
+ ->willReturn(false);
$this->navigationManager
->expects($this->once())
->method('setActiveEntry')