reduce slow running test

This commit is contained in:
Dennis Eichhorn 2023-10-22 23:38:40 +00:00
parent b4384f965a
commit 58120ac97d

View File

@ -45,7 +45,7 @@ final class ImageUtilsTest extends \PHPUnit\Framework\TestCase
public function testDifference() : void
{
foreach (['png', 'jpg', 'gif'] as $type) {
foreach (['png', 'gif'] as $type) {
$diff = ImageUtils::difference(__DIR__ . '/img/img1.' . $type, __DIR__ . '/img/img2.' . $type, __DIR__ . '/img/diff1.' . $type, 0);
$diff = ImageUtils::difference(__DIR__ . '/img/img1.' . $type, __DIR__ . '/img/img2.' . $type, __DIR__ . '/img/diff2.' . $type, 1);