summaryrefslogtreecommitdiffstats
path: root/apps/files/tests/Controller/ApiControllerTest.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-05-28 08:22:10 +0200
committerJohn Molakvoæ (Rebase PR Action) <skjnldsv@users.noreply.github.com>2021-10-13 09:52:45 +0000
commit3b148451b2e6000bd16f3713c739cf0479e1b285 (patch)
tree11e112ebefcb4f5682c270fb1b265d4086c90cee /apps/files/tests/Controller/ApiControllerTest.php
parentb585cf1ea1baeb7bbfaf22953e48bbd33e8381fa (diff)
downloadnextcloud-server-3b148451b2e6000bd16f3713c739cf0479e1b285.tar.gz
nextcloud-server-3b148451b2e6000bd16f3713c739cf0479e1b285.zip
Fix setUserValue bool test on testShowHiddenFiles & testCropImagePreviews
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
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);