mirror of
https://github.com/Intervention/image.git
synced 2025-02-07 14:20:37 +01:00
fix
This commit is contained in:
parent
04e50a2d90
commit
6337bf6b1d
@ -1169,10 +1169,10 @@ class GdSystemTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
$img = $this->manager()->make('tests/images/star.png');
|
||||
$img->limitColors(64, '#00ff00');
|
||||
$img->save('tests/images/foofoofoofoofoofoofoofoo.png');
|
||||
$this->assertLessThanOrEqual(65, imagecolorstotal($img->getCore()));
|
||||
$this->assertTransparentPosition($img, 0, 0);
|
||||
$this->assertColorAtPosition('#04f204', $img, 12, 10);
|
||||
$this->assertColorAtPosition('#06fe04', $img, 22, 17);
|
||||
$this->assertColorAtPosition('#e40214', $img, 16, 21);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user