Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-10-20 19:48:04 +0300
committerGitHub <noreply@github.com>2021-10-20 19:48:04 +0300
commit4dc226ee9195f0a1f5c859525c91f7a08b3feb31 (patch)
tree2c45ed6776183be9d64285954ff07003b8105f0c /apps/files/tests
parent07863f3de3dd1d034c0b31beac99eb798ecfca7c (diff)
parent3b148451b2e6000bd16f3713c739cf0479e1b285 (diff)
Merge pull request #27196 from nextcloud/fix/ApiControllerTest-testShowHiddenFiles
Diffstat (limited to 'apps/files/tests')
-rw-r--r--apps/files/tests/Controller/ApiControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/tests/Controller/ApiControllerTest.php b/apps/files/tests/Controller/ApiControllerTest.php
index 0bce2763be9..af2d16699c1 100644
--- a/apps/files/tests/Controller/ApiControllerTest.php
+++ b/apps/files/tests/Controller/ApiControllerTest.php
@@ -252,7 +252,7 @@ class ApiControllerTest extends TestCase {
$this->config->expects($this->once())
->method('setUserValue')
- ->with($this->user->getUID(), 'files', 'crop_image_previews', $crop);
+ ->with($this->user->getUID(), 'files', 'crop_image_previews', '1');
$expected = new Http\Response();
$actual = $this->apiController->cropImagePreviews($crop);