mirror of
https://github.com/Intervention/image.git
synced 2025-01-17 20:28:21 +01:00
Deleted test for now
This commit is contained in:
parent
175b5382e7
commit
674d38dfc6
@ -1,28 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Intervention\Image\Tests\Drivers\Gd\Modifiers;
|
||||
|
||||
use Intervention\Image\Drivers\Gd\Image;
|
||||
use Intervention\Image\Drivers\Gd\Modifiers\FitModifier;
|
||||
use Intervention\Image\Geometry\Size;
|
||||
use Intervention\Image\Tests\TestCase;
|
||||
use Intervention\Image\Tests\Traits\CanCreateGdTestImage;
|
||||
|
||||
class FitModifierTest extends TestCase
|
||||
{
|
||||
use CanCreateGdTestImage;
|
||||
|
||||
public function testColorChange(): void
|
||||
{
|
||||
$image = $this->createTestImage('test.jpg');
|
||||
$image->resize(800, 600);
|
||||
$this->assertEquals(800, $image->width());
|
||||
$this->assertEquals(600, $image->height());
|
||||
|
||||
$image->fit(100, 100);
|
||||
|
||||
// $image->modify(new FitModifier(new Size(100, 100)));
|
||||
// $this->assertEquals(30, $image->width());
|
||||
// $this->assertEquals(20, $image->height());
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user