From 0564392cb973dbc3f3669ecdf9fa25524c1c8724 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Sun, 26 Mar 2017 21:26:45 +0200 Subject: [PATCH] Fix the tests Signed-off-by: Joas Schilling --- apps/files/tests/Controller/ViewControllerTest.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php index 1d8c295655..2e497405a4 100644 --- a/apps/files/tests/Controller/ViewControllerTest.php +++ b/apps/files/tests/Controller/ViewControllerTest.php @@ -134,6 +134,7 @@ class ViewControllerTest extends TestCase { 'name' => \OC::$server->getL10N('files')->t('All files'), 'active' => false, 'icon' => '', + 'type' => 'link', ], [ 'id' => 'recent', @@ -143,6 +144,7 @@ class ViewControllerTest extends TestCase { 'name' => \OC::$server->getL10N('files')->t('Recent'), 'active' => false, 'icon' => '', + 'type' => 'link', ], [ 'id' => 'favorites', @@ -152,6 +154,7 @@ class ViewControllerTest extends TestCase { 'name' => null, 'active' => false, 'icon' => '', + 'type' => 'link', ], [ 'id' => 'sharingin', @@ -161,6 +164,7 @@ class ViewControllerTest extends TestCase { 'name' => \OC::$server->getL10N('files_sharing')->t('Shared with you'), 'active' => false, 'icon' => '', + 'type' => 'link', ], [ 'id' => 'sharingout', @@ -170,6 +174,7 @@ class ViewControllerTest extends TestCase { 'name' => \OC::$server->getL10N('files_sharing')->t('Shared with others'), 'active' => false, 'icon' => '', + 'type' => 'link', ], [ 'id' => 'sharinglinks', @@ -179,6 +184,7 @@ class ViewControllerTest extends TestCase { 'name' => \OC::$server->getL10N('files_sharing')->t('Shared by link', []), 'active' => false, 'icon' => '', + 'type' => 'link', ], [ 'id' => 'systemtagsfilter', @@ -188,6 +194,7 @@ class ViewControllerTest extends TestCase { 'name' => \OC::$server->getL10N('systemtags')->t('Tags'), 'active' => false, 'icon' => '', + 'type' => 'link', ], [ 'id' => 'trashbin', @@ -197,7 +204,8 @@ class ViewControllerTest extends TestCase { 'name' => \OC::$server->getL10N('files_trashbin')->t('Deleted files'), 'active' => false, 'icon' => '', - ], + 'type' => 'link', + ], ]); $expected = new Http\TemplateResponse(