mirror of
https://github.com/Intervention/image.git
synced 2025-08-22 05:22:50 +02:00
Remove debug code
This commit is contained in:
@@ -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));
|
||||||
|
@@ -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));
|
||||||
|
Reference in New Issue
Block a user