Skip to content

Commit

Permalink
Merge pull request #27196 from nextcloud/fix/ApiControllerTest-testSh…
Browse files Browse the repository at this point in the history
…owHiddenFiles
  • Loading branch information
skjnldsv authored Oct 20, 2021
2 parents 07863f3 + 3b14845 commit 4dc226e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/tests/Controller/ApiControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4dc226e

Please sign in to comment.