1
0
mirror of https://github.com/Intervention/image.git synced 2025-03-11 04:39:38 +01:00

Add negative tests

This commit is contained in:
Oliver Vogel 2024-04-14 09:28:09 +02:00
parent 490b8ae5c4
commit 3ff1573b78
No known key found for this signature in database
GPG Key ID: 1B19D214C02D69BB
2 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ final class PngEncoderTest extends GdTestCase
$encoder = new PngEncoder();
$result = $encoder->encode($image);
$this->assertMediaType('image/png', (string) $result);
$this->assertFalse($this->isInterlacedPng((string) $result));
}
public function testEncodeInterlaced(): void

View File

@ -23,6 +23,7 @@ final class PngEncoderTest extends ImagickTestCase
$encoder = new PngEncoder();
$result = $encoder->encode($image);
$this->assertMediaType('image/png', (string) $result);
$this->assertFalse($this->isInterlacedPng((string) $result));
}
public function testEncodeInterlaced(): void