diff --git a/apps/files/tests/Controller/ApiControllerTest.php b/apps/files/tests/Controller/ApiControllerTest.php index 0bce2763be9dd..af2d16699c1a7 100644 --- a/apps/files/tests/Controller/ApiControllerTest.php +++ b/apps/files/tests/Controller/ApiControllerTest.php @@ -252,7 +252,7 @@ public function testCropImagePreviews() { $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);