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

Rename test functions

This commit is contained in:
Oliver Vogel
2024-03-10 10:13:45 +01:00
parent 67fde5f87e
commit 03281ba995
29 changed files with 77 additions and 77 deletions

View File

@@ -11,14 +11,14 @@ use Mockery\Adapter\Phpunit\MockeryTestCase;
abstract class BaseTestCase extends MockeryTestCase
{
public function getTestImagePath($filename = 'test.jpg'): string
public function getTestResourcePath($filename = 'test.jpg'): string
{
return sprintf('%s/resources/%s', __DIR__, $filename);
}
public function getTestImageData($filename = 'test.jpg'): string
public function getTestResourceData($filename = 'test.jpg'): string
{
return file_get_contents($this->getTestImagePath($filename));
return file_get_contents($this->getTestResourcePath($filename));
}
protected function assertColor($r, $g, $b, $a, ColorInterface $color)