mirror of
https://github.com/Intervention/image.git
synced 2025-08-01 03:20:17 +02:00
Add negative tests
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user