1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-30 01:00:06 +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

@@ -13,7 +13,7 @@ final class ClonerTest extends BaseTestCase
{
public function testClone(): void
{
$gd = imagecreatefromgif($this->getTestImagePath('gradient.gif'));
$gd = imagecreatefromgif($this->getTestResourcePath('gradient.gif'));
$clone = Cloner::clone($gd);
$this->assertEquals(16, imagesx($gd));
@@ -29,7 +29,7 @@ final class ClonerTest extends BaseTestCase
public function testCloneEmpty(): void
{
$gd = imagecreatefromgif($this->getTestImagePath('gradient.gif'));
$gd = imagecreatefromgif($this->getTestResourcePath('gradient.gif'));
$clone = Cloner::cloneEmpty($gd, new Rectangle(12, 12), new Color(255, 0, 0, 0));
$this->assertEquals(16, imagesx($gd));
@@ -50,7 +50,7 @@ final class ClonerTest extends BaseTestCase
public function testCLoneBlended(): void
{
$gd = imagecreatefromgif($this->getTestImagePath('gradient.gif'));
$gd = imagecreatefromgif($this->getTestResourcePath('gradient.gif'));
$clone = Cloner::cloneBlended($gd, new Color(255, 0, 255, 255));
$this->assertEquals(16, imagesx($gd));