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:
Diffstat (limited to 'apps/files/tests/Controller/ApiControllerTest.php')
-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);