mirror of
https://github.com/Intervention/image.git
synced 2025-08-30 17:19:50 +02:00
Optimize tests
This commit is contained in:
@@ -19,8 +19,10 @@ use Intervention\Image\Exceptions\EncoderException;
|
||||
use Intervention\Image\FileExtension;
|
||||
use Intervention\Image\Interfaces\EncoderInterface;
|
||||
use Intervention\Image\Tests\BaseTestCase;
|
||||
use PHPUnit\Framework\Attributes\CoversClass;
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
|
||||
#[CoversClass(FileExtensionEncoder::class)]
|
||||
final class FileExtensionEncoderTest extends BaseTestCase
|
||||
{
|
||||
private function testEncoder(string|FileExtension $extension, array $options = []): EncoderInterface
|
||||
|
@@ -19,8 +19,10 @@ use Intervention\Image\Exceptions\EncoderException;
|
||||
use Intervention\Image\Interfaces\EncoderInterface;
|
||||
use Intervention\Image\MediaType;
|
||||
use Intervention\Image\Tests\BaseTestCase;
|
||||
use PHPUnit\Framework\Attributes\CoversClass;
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
|
||||
#[CoversClass(MediaTypeEncoder::class)]
|
||||
final class MediaTypeEncoderTest extends BaseTestCase
|
||||
{
|
||||
private function testEncoder(string|MediaType $mediaType, array $options = []): EncoderInterface
|
||||
|
Reference in New Issue
Block a user