Skip to content

Commit 75c9021

Browse files
committed
test: Fix ViewController test
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 parent 2fd00fd commit 75c9021

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/files/tests/Controller/ViewControllerTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ public function testIndexWithRegularBrowser() {
148148
->with('testuser1')
149149
->willReturn($baseFolderFiles);
150150

151+
$baseFolderFiles->expects($this->any())
152+
->method('search')
153+
->willReturn([]);
154+
151155
$this->config
152156
->expects($this->any())
153157
->method('getAppValue')

0 commit comments

Comments
 (0)