1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-26 07:14:31 +02:00

Restructure test folders & refactor test traits

This commit is contained in:
Oliver Vogel
2024-03-10 10:00:06 +01:00
parent 2e9f91c311
commit 67fde5f87e
97 changed files with 164 additions and 401 deletions

View File

@@ -9,16 +9,13 @@ use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use Intervention\Image\Modifiers\DrawEllipseModifier;
use Intervention\Image\Geometry\Ellipse;
use Intervention\Image\Geometry\Point;
use Intervention\Image\Tests\BaseTestCase;
use Intervention\Image\Tests\Traits\CanCreateGdTestImage;
use Intervention\Image\Tests\GdTestCase;
#[RequiresPhpExtension('gd')]
#[CoversClass(\Intervention\Image\Modifiers\DrawEllipseModifier::class)]
#[CoversClass(\Intervention\Image\Drivers\Gd\Modifiers\DrawEllipseModifier::class)]
final class DrawEllipseModifierTest extends BaseTestCase
final class DrawEllipseModifierTest extends GdTestCase
{
use CanCreateGdTestImage;
public function testApply(): void
{
$image = $this->readTestImage('trim.png');