aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/tests
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 /apps/files/tests
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 'apps/files/tests')
-rw-r--r--apps/files/tests/Controller/ViewControllerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php
index 783c9c8bbbb..d9ccaf47eed 100644
--- a/apps/files/tests/Controller/ViewControllerTest.php
+++ b/apps/files/tests/Controller/ViewControllerTest.php
@@ -158,6 +158,7 @@ class ViewControllerTest extends TestCase {
->willReturnMap([
[$this->user->getUID(), 'files', 'file_sorting', 'name', 'name'],
[$this->user->getUID(), 'files', 'file_sorting_direction', 'asc', 'asc'],
+ [$this->user->getUID(), 'files', 'files_sorting_configs', '{}', '{}'],
[$this->user->getUID(), 'files', 'show_hidden', false, false],
[$this->user->getUID(), 'files', 'crop_image_previews', true, true],
[$this->user->getUID(), 'files', 'show_grid', true],