mirror of
https://github.com/Intervention/image.git
synced 2025-08-30 17:19:50 +02:00
Optimize tests
This commit is contained in:
@@ -9,7 +9,9 @@ use Intervention\Image\Exceptions\NotSupportedException;
|
||||
use Intervention\Image\Interfaces\ColorspaceInterface;
|
||||
use Intervention\Image\Modifiers\ColorspaceModifier;
|
||||
use Intervention\Image\Tests\BaseTestCase;
|
||||
use PHPUnit\Framework\Attributes\CoversClass;
|
||||
|
||||
#[CoversClass(ColorspaceModifier::class)]
|
||||
final class ColorspaceModifierTest extends BaseTestCase
|
||||
{
|
||||
public function testTargetColorspace(): void
|
||||
|
@@ -10,7 +10,9 @@ use Intervention\Image\Interfaces\SizeInterface;
|
||||
use Intervention\Image\Modifiers\PadModifier;
|
||||
use Intervention\Image\Tests\BaseTestCase;
|
||||
use Mockery;
|
||||
use PHPUnit\Framework\Attributes\CoversClass;
|
||||
|
||||
#[CoversClass(PadModifier::class)]
|
||||
final class PadModifierTest extends BaseTestCase
|
||||
{
|
||||
public function testGetCropSize(): void
|
||||
|
@@ -8,7 +8,9 @@ use Intervention\Image\Geometry\Point;
|
||||
use Intervention\Image\Modifiers\TextModifier;
|
||||
use Intervention\Image\Tests\BaseTestCase;
|
||||
use Intervention\Image\Typography\Font;
|
||||
use PHPUnit\Framework\Attributes\CoversClass;
|
||||
|
||||
#[CoversClass(TextModifier::class)]
|
||||
final class TextModifierTest extends BaseTestCase
|
||||
{
|
||||
public function testStrokeOffsets(): void
|
||||
|
Reference in New Issue
Block a user