aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/ImageTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/ImageTest.php b/tests/lib/ImageTest.php
index 2a753b01550..f4da0275c2d 100644
--- a/tests/lib/ImageTest.php
+++ b/tests/lib/ImageTest.php
@@ -144,8 +144,8 @@ class ImageTest extends \Test\TestCase {
->willReturn(null);
$config->expects($this->once())
->method('getSystemValueInt')
- ->with('preview_max_memory', 128)
- ->willReturn(128);
+ ->with('preview_max_memory', 256)
+ ->willReturn(256);
$img = new \OC_Image(null, null, $config);
$img->loadFromFile(OC::$SERVERROOT.'/tests/data/testimage.jpg');
$raw = imagecreatefromstring(file_get_contents(OC::$SERVERROOT.'/tests/data/testimage.jpg'));