From a94236483e26785dcaf97fb10e863f82348eb068 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Tue, 11 May 2021 08:22:51 +0200 Subject: Let apps toggle an unread counter on app icons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Louis Chemineau Signed-off-by: Julius Härtl --- apps/files/tests/Controller/ViewControllerTest.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'apps') 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, ] ]); -- cgit v1.2.3