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

@@ -8,16 +8,13 @@ use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use Intervention\Image\Analyzers\ResolutionAnalyzer;
use Intervention\Image\Resolution;
use Intervention\Image\Tests\BaseTestCase;
use Intervention\Image\Tests\Traits\CanCreateImagickTestImage;
use Intervention\Image\Tests\ImagickTestCase;
#[RequiresPhpExtension('imagick')]
#[CoversClass(\Intervention\Image\Analyzers\ResolutionAnalyzer::class)]
#[CoversClass(\Intervention\Image\Drivers\Imagick\Analyzers\ResolutionAnalyzer::class)]
final class ResolutionAnalyzerTest extends BaseTestCase
final class ResolutionAnalyzerTest extends ImagickTestCase
{
use CanCreateImagickTestImage;
public function testAnalyze(): void
{
$image = $this->readTestImage('tile.png');