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:
parent
621a4bc730
commit
b0bdd2dfbc
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue