aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/tests/Controller/ViewControllerTest.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-05-11 08:22:51 +0200
committerJulius Härtl <jus@bitgrid.net>2021-06-16 17:12:56 +0200
commita94236483e26785dcaf97fb10e863f82348eb068 (patch)
tree72acc7ac8eb955e93704bf563cc2973149ab9f97 /apps/files/tests/Controller/ViewControllerTest.php
parent4c93249514783181115be8bb040de701bffdba10 (diff)
downloadnextcloud-server-a94236483e26785dcaf97fb10e863f82348eb068.tar.gz
nextcloud-server-a94236483e26785dcaf97fb10e863f82348eb068.zip
Let apps toggle an unread counter on app icons
Co-authored-by: Louis Chemineau <louis@chmn.me> Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files/tests/Controller/ViewControllerTest.php')
-rw-r--r--apps/files/tests/Controller/ViewControllerTest.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php
index a0c62d28e2a..d7b298d9e84 100644
--- a/apps/files/tests/Controller/ViewControllerTest.php
+++ b/apps/files/tests/Controller/ViewControllerTest.php
@@ -178,6 +178,7 @@ class ViewControllerTest extends TestCase {
'icon' => '',
'type' => 'link',
'classes' => '',
+ 'unread' => 0,
],
'recent' => [
'id' => 'recent',
@@ -189,6 +190,7 @@ class ViewControllerTest extends TestCase {
'icon' => '',
'type' => 'link',
'classes' => '',
+ 'unread' => 0,
],
'favorites' => [
'id' => 'favorites',
@@ -247,7 +249,8 @@ class ViewControllerTest extends TestCase {
],
],
'defaultExpandedState' => false,
- 'expandedState' => 'show_Quick_Access'
+ 'expandedState' => 'show_Quick_Access',
+ 'unread' => 0,
],
'systemtagsfilter' => [
'id' => 'systemtagsfilter',
@@ -259,6 +262,7 @@ class ViewControllerTest extends TestCase {
'icon' => '',
'type' => 'link',
'classes' => '',
+ 'unread' => 0,
],
'trashbin' => [
'id' => 'trashbin',
@@ -270,6 +274,7 @@ class ViewControllerTest extends TestCase {
'icon' => '',
'type' => 'link',
'classes' => 'pinned',
+ 'unread' => 0,
],
'shareoverview' => [
'id' => 'shareoverview',
@@ -320,6 +325,7 @@ class ViewControllerTest extends TestCase {
'type' => 'link',
'expandedState' => 'show_sharing_menu',
'defaultExpandedState' => false,
+ 'unread' => 0,
]
]);