Fix test on master

Regression by https://github.com/nextcloud/server/pull/26410

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2021-05-29 00:02:02 +02:00
parent 621a4bc730
commit b0bdd2dfbc
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ class ApiControllerTest extends TestCase {
$this->config->expects($this->once()) $this->config->expects($this->once())
->method('setUserValue') ->method('setUserValue')
->with($this->user->getUID(), 'files', 'show_hidden', $show); ->with($this->user->getUID(), 'files', 'show_hidden', '0');
$expected = new Http\Response(); $expected = new Http\Response();
$actual = $this->apiController->showHiddenFiles($show); $actual = $this->apiController->showHiddenFiles($show);