diff --git a/apps/files/tests/Controller/ApiControllerTest.php b/apps/files/tests/Controller/ApiControllerTest.php index dd64bfb833..b1a49ff56d 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);