mirror of
https://github.com/Intervention/image.git
synced 2025-08-29 00:29:55 +02:00
Restructure test folders & refactor test traits
This commit is contained in:
@@ -8,16 +8,13 @@ use PHPUnit\Framework\Attributes\CoversClass;
|
||||
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
|
||||
use Intervention\Image\Modifiers\DrawPixelModifier;
|
||||
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\DrawPixelModifier::class)]
|
||||
#[CoversClass(\Intervention\Image\Drivers\Gd\Modifiers\DrawPixelModifier::class)]
|
||||
final class DrawPixelModifierTest extends BaseTestCase
|
||||
final class DrawPixelModifierTest extends GdTestCase
|
||||
{
|
||||
use CanCreateGdTestImage;
|
||||
|
||||
public function testApply(): void
|
||||
{
|
||||
$image = $this->readTestImage('trim.png');
|
||||
|
Reference in New Issue
Block a user