summaryrefslogtreecommitdiffstats
path: root/apps/files/tests/Controller/ViewControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/tests/Controller/ViewControllerTest.php')
-rw-r--r--apps/files/tests/Controller/ViewControllerTest.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php
index f11a6faf863..35fc1e74c1a 100644
--- a/apps/files/tests/Controller/ViewControllerTest.php
+++ b/apps/files/tests/Controller/ViewControllerTest.php
@@ -131,12 +131,13 @@ class ViewControllerTest extends TestCase {
[$this->user->getUID(), 'files', 'file_sorting', 'name', 'name'],
[$this->user->getUID(), 'files', 'file_sorting_direction', 'asc', 'asc'],
[$this->user->getUID(), 'files', 'show_hidden', false, false],
+ [$this->user->getUID(), 'files', 'show_grid', true, true],
]));
- $this->config
- ->expects($this->any())
- ->method('getAppValue')
- ->will($this->returnArgument(2));
+ $this->config
+ ->expects($this->any())
+ ->method('getAppValue')
+ ->will($this->returnArgument(2));
$nav = new Template('files', 'appnavigation');
$nav->assign('usage_relative', 123);
@@ -366,6 +367,8 @@ class ViewControllerTest extends TestCase {
],
],
'hiddenFields' => [],
+ 'showgridview' => true,
+ 'isIE' => false,
]
);
$policy = new Http\ContentSecurityPolicy();