Skip to content

Commit

Permalink
test: Fix ViewController test
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <[email protected]>
  • Loading branch information
Pytal committed Jul 25, 2024
1 parent 2fd00fd commit 75c9021
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/files/tests/Controller/ViewControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ public function testIndexWithRegularBrowser() {
->with('testuser1')
->willReturn($baseFolderFiles);

$baseFolderFiles->expects($this->any())
->method('search')
->willReturn([]);

$this->config
->expects($this->any())
->method('getAppValue')
Expand Down

0 comments on commit 75c9021

Please sign in to comment.