aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/App
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-08-14 17:03:56 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-08-14 18:13:12 +0200
commitf57c12b14e360f1694a699fce5a7e8ae4c50b91c (patch)
treec95ba93938f67fa157206b2aabde701a52bcc649 /tests/lib/App
parent8857599656f0ad14253084388fab7570208b21db (diff)
downloadnextcloud-server-f57c12b14e360f1694a699fce5a7e8ae4c50b91c.tar.gz
nextcloud-server-f57c12b14e360f1694a699fce5a7e8ae4c50b91c.zip
Fix various deprecation warnings in tests on PHP 8.3
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/App')
-rw-r--r--tests/lib/App/AppManagerTest.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/lib/App/AppManagerTest.php b/tests/lib/App/AppManagerTest.php
index 4717da008a4..3bf2195499f 100644
--- a/tests/lib/App/AppManagerTest.php
+++ b/tests/lib/App/AppManagerTest.php
@@ -642,6 +642,11 @@ class AppManagerTest extends TestCase {
->with('defaultapp', $this->anything())
->willReturn($defaultApps);
+ $this->config->expects($this->once())
+ ->method('getUserValue')
+ ->with('user1', 'core', 'defaultapp')
+ ->willReturn('');
+
$this->assertEquals($expectedApp, $this->manager->getDefaultAppForUser());
}
}