diff options
author | Joas Schilling <coding@schilljs.com> | 2017-03-26 21:26:45 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-03-26 21:26:45 +0200 |
commit | 0564392cb973dbc3f3669ecdf9fa25524c1c8724 (patch) | |
tree | 3c830e164db721316090445939593abc5a653875 /apps | |
parent | 0229c16e5fe9a20bc150b2162d22df6fe236cb9e (diff) | |
download | nextcloud-server-0564392cb973dbc3f3669ecdf9fa25524c1c8724.tar.gz nextcloud-server-0564392cb973dbc3f3669ecdf9fa25524c1c8724.zip |
Fix the tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/tests/Controller/ViewControllerTest.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php index 1d8c2956551..2e497405a4d 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( |