mirror of
https://github.com/Intervention/image.git
synced 2025-08-28 08:09:54 +02:00
Update CanCreateImagickTestImage.php fix the create with decoder method name.
This commit is contained in:
@@ -11,12 +11,12 @@ trait CanCreateImagickTestImage
|
||||
{
|
||||
public function createTestImage($filename = 'test.jpg'): Image
|
||||
{
|
||||
return $this->testImageDecoder()->handle(
|
||||
return $this->createWithImageDecoder()->handle(
|
||||
sprintf('%s/../images/%s', __DIR__, $filename)
|
||||
);
|
||||
}
|
||||
|
||||
protected function testImageDecoder(): FilePathImageDecoder
|
||||
protected function createWithImageDecoder(): FilePathImageDecoder
|
||||
{
|
||||
return new FilePathImageDecoder();
|
||||
}
|
||||
|
Reference in New Issue
Block a user