mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
reduce slow running test
This commit is contained in:
parent
b4384f965a
commit
58120ac97d
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user