1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-22 13:32:56 +02:00

Remove debug code

This commit is contained in:
Oliver Vogel
2023-10-24 17:24:33 +02:00
parent 49a2e8a81a
commit 4cbb0de586
2 changed files with 0 additions and 2 deletions

View File

@@ -18,7 +18,6 @@ class CropModifierTest extends TestCase
{ {
$image = $this->createTestImage('blocks.png'); $image = $this->createTestImage('blocks.png');
$image = $image->modify(new CropModifier(200, 200, 'bottom-right')); $image = $image->modify(new CropModifier(200, 200, 'bottom-right'));
$image->toPng()->save('./test.png');
$this->assertEquals(200, $image->getWidth()); $this->assertEquals(200, $image->getWidth());
$this->assertEquals(200, $image->getHeight()); $this->assertEquals(200, $image->getHeight());
$this->assertColor(255, 0, 0, 255, $image->pickColor(5, 5)); $this->assertColor(255, 0, 0, 255, $image->pickColor(5, 5));

View File

@@ -18,7 +18,6 @@ class CropModifierTest extends TestCase
{ {
$image = $this->createTestImage('blocks.png'); $image = $this->createTestImage('blocks.png');
$image = $image->modify(new CropModifier(200, 200, 'bottom-right')); $image = $image->modify(new CropModifier(200, 200, 'bottom-right'));
$image->toPng()->save('./test.png');
$this->assertEquals(200, $image->getWidth()); $this->assertEquals(200, $image->getWidth());
$this->assertEquals(200, $image->getHeight()); $this->assertEquals(200, $image->getHeight());
$this->assertColor(255, 0, 0, 255, $image->pickColor(5, 5)); $this->assertColor(255, 0, 0, 255, $image->pickColor(5, 5));