summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2021-06-17 13:33:31 +0200
committerGitHub <noreply@github.com>2021-06-17 13:33:31 +0200
commiteec792446de67ec4b0f47495daf6d8f734f427d9 (patch)
tree75182f2afda8014738bb50ef6ce08b5d6167ed32 /apps
parent25fc2569de23b0b17a72d8e95543811450134591 (diff)
parenta94236483e26785dcaf97fb10e863f82348eb068 (diff)
downloadnextcloud-server-eec792446de67ec4b0f47495daf6d8f734f427d9.tar.gz
nextcloud-server-eec792446de67ec4b0f47495daf6d8f734f427d9.zip
Merge pull request #26939 from nextcloud/enh/app-icon-notification-bubble
Let apps toggle an unread counter on app icons
Diffstat (limited to 'apps')
-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,
]
]);