From 3b148451b2e6000bd16f3713c739cf0479e1b285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Fri, 28 May 2021 08:22:10 +0200 Subject: [PATCH] Fix setUserValue bool test on testShowHiddenFiles & testCropImagePreviews MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files/tests/Controller/ApiControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);