diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-04 11:47:36 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-04 16:46:16 +0100 |
commit | 7339355dde6e946bbc151397ea91ba5bf19047f6 (patch) | |
tree | 742e97042d74d7f28b08979e2df839516d46fd39 /apps/files/tests | |
parent | e2da30a0c5315273936232e3ad28ca0c8653ed33 (diff) | |
download | nextcloud-server-7339355dde6e946bbc151397ea91ba5bf19047f6.tar.gz nextcloud-server-7339355dde6e946bbc151397ea91ba5bf19047f6.zip |
Fix favourite opening
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/tests')
-rw-r--r-- | apps/files/tests/Controller/ViewControllerTest.php | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php index a9aab4fbf4b..6ab09011e1f 100644 --- a/apps/files/tests/Controller/ViewControllerTest.php +++ b/apps/files/tests/Controller/ViewControllerTest.php @@ -211,43 +211,47 @@ class ViewControllerTest extends TestCase { 'sublist' => [ [ 'id' => '-test1', - 'view' => 'files', - 'href' => '', 'dir' => '/test1', 'order' => 6, - 'folderPosition' => 1, 'name' => 'test1', 'icon' => 'folder', + 'params' => [ + 'view' => 'files', + 'dir' => '/test1', + ], ], [ 'name' => 'test2', 'id' => '-test2-', - 'view' => 'files', - 'href' => '', 'dir' => '/test2/', 'order' => 7, - 'folderPosition' => 2, 'icon' => 'folder', + 'params' => [ + 'view' => 'files', + 'dir' => '/test2/', + ], ], [ 'name' => 'sub4', 'id' => '-test3-sub4', - 'view' => 'files', - 'href' => '', 'dir' => '/test3/sub4', 'order' => 8, - 'folderPosition' => 3, 'icon' => 'folder', + 'params' => [ + 'view' => 'files', + 'dir' => '/test3/sub4', + ], ], [ 'name' => 'sub6', 'id' => '-test5-sub6-', - 'view' => 'files', - 'href' => '', 'dir' => '/test5/sub6/', 'order' => 9, - 'folderPosition' => 4, 'icon' => 'folder', + 'params' => [ + 'view' => 'files', + 'dir' => '/test5/sub6/', + ], ], ], 'expanded' => false, |