aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/App
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-11-08 14:15:25 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2023-11-14 20:03:28 +0100
commit8d0c7cc5fa903ca3d4bbfeea411fac71d81d1c01 (patch)
tree5d12f4538cc1717ba338119518973748fc2be05d /tests/lib/App
parent8bd9858345cc4e39c024e8dcb5ae688701606b11 (diff)
downloadnextcloud-server-8d0c7cc5fa903ca3d4bbfeea411fac71d81d1c01.tar.gz
nextcloud-server-8d0c7cc5fa903ca3d4bbfeea411fac71d81d1c01.zip
fix: Allow to set custom app order on navigation entries added by closures to NavigationManager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'tests/lib/App')
-rw-r--r--tests/lib/App/AppManagerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/App/AppManagerTest.php b/tests/lib/App/AppManagerTest.php
index 104b0941644..410bfa287fc 100644
--- a/tests/lib/App/AppManagerTest.php
+++ b/tests/lib/App/AppManagerTest.php
@@ -680,7 +680,7 @@ class AppManagerTest extends TestCase {
[
'unexist,settings',
'files',
- '{"settings":[1],"files":[2]}',
+ '{"settings":{"app":"settings","order":1},"files":{"app":"files","order":2}}',
true,
'files',
],
@@ -688,7 +688,7 @@ class AppManagerTest extends TestCase {
[
'',
'',
- '{"settings":[1],"files":[2]}',
+ '{"settings":{"app":"settings","order":1},"files":{"app":"files","order":2}}',
true,
'settings',
],
@@ -696,7 +696,7 @@ class AppManagerTest extends TestCase {
[
'',
'',
- '{"settings":[1],"files":[2]}',
+ '{"settings":{"app":"settings","order":1},"files":{"app":"files","order":2}}',
false,
'',
],