1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-30 17:19:50 +02:00

Add tests for PNG indexed options

This commit is contained in:
Oliver Vogel
2024-08-03 11:15:29 +02:00
parent 2ee997d98f
commit 63990a8fb3
7 changed files with 125 additions and 12 deletions

View File

@@ -25,7 +25,7 @@ abstract class BaseTestCase extends MockeryTestCase
return file_get_contents(self::getTestResourcePath($filename));
}
public function getTestResourcePointer($filename = 'test.jpg')
public static function getTestResourcePointer($filename = 'test.jpg')
{
$pointer = fopen('php://temp', 'rw');
fputs($pointer, self::getTestResourceData($filename));