diff options
Diffstat (limited to 'tests/lib/Preview/GeneratorTest.php')
-rw-r--r-- | tests/lib/Preview/GeneratorTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/Preview/GeneratorTest.php b/tests/lib/Preview/GeneratorTest.php index bfe464f785b..3a46447632d 100644 --- a/tests/lib/Preview/GeneratorTest.php +++ b/tests/lib/Preview/GeneratorTest.php @@ -325,13 +325,13 @@ class GeneratorTest extends \Test\TestCase { $image->method('dataMimeType')->willReturn('image/png'); $image->method('data')->willReturn($data); - $image->method('resizeCopy')->willReturnCallback(function($size) use ($data) { + $image->method('resizeCopy')->willReturnCallback(function ($size) use ($data) { return $this->getMockImage($size, $size, $data); }); - $image->method('preciseResizeCopy')->willReturnCallback(function($width, $height) use ($data) { + $image->method('preciseResizeCopy')->willReturnCallback(function ($width, $height) use ($data) { return $this->getMockImage($width, $height, $data); }); - $image->method('cropCopy')->willReturnCallback(function($x, $y, $width, $height) use ($data) { + $image->method('cropCopy')->willReturnCallback(function ($x, $y, $width, $height) use ($data) { return $this->getMockImage($width, $height, $data); }); |