aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-11-17 08:03:05 +0100
committerGitHub <noreply@github.com>2022-11-17 08:03:05 +0100
commitd27a39271e39d043caff3fe4d8538748ca22b18d (patch)
treec0798503dadcdf84947434ee931b6165b0390069 /tests
parent0f3150cff78c152e631cad65fd982f8d969bb41c (diff)
downloadnextcloud-server-d27a39271e39d043caff3fe4d8538748ca22b18d.tar.gz
nextcloud-server-d27a39271e39d043caff3fe4d8538748ca22b18d.zip
getAppValue expects string
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/ImageTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/ImageTest.php b/tests/lib/ImageTest.php
index dcb09202639..ace3f1abcec 100644
--- a/tests/lib/ImageTest.php
+++ b/tests/lib/ImageTest.php
@@ -140,7 +140,7 @@ class ImageTest extends \Test\TestCase {
$config = $this->createMock(IConfig::class);
$config->expects($this->once())
->method('getAppValue')
- ->with('preview', 'jpeg_quality', 80)
+ ->with('preview', 'jpeg_quality', '80')
->willReturn(null);
$config->expects($this->once())
->method('getSystemValueInt')