From b0bdd2dfbc08fbabec50b6681d7ca6d78a9833ba Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sat, 29 May 2021 00:02:02 +0200 Subject: [PATCH] Fix test on master Regression by https://github.com/nextcloud/server/pull/26410 Signed-off-by: Lukas Reschke --- apps/files/tests/Controller/ApiControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/tests/Controller/ApiControllerTest.php b/apps/files/tests/Controller/ApiControllerTest.php index 1fb6490f14..dd64bfb833 100644 --- a/apps/files/tests/Controller/ApiControllerTest.php +++ b/apps/files/tests/Controller/ApiControllerTest.php @@ -239,7 +239,7 @@ class ApiControllerTest extends TestCase { $this->config->expects($this->once()) ->method('setUserValue') - ->with($this->user->getUID(), 'files', 'show_hidden', $show); + ->with($this->user->getUID(), 'files', 'show_hidden', '0'); $expected = new Http\Response(); $actual = $this->apiController->showHiddenFiles($show);