mirror of
https://github.com/Intervention/image.git
synced 2025-09-09 13:40:52 +02:00
Fix bug in RemoveAnimationModifiers
This commit is contained in:
@@ -18,7 +18,8 @@ class RemoveAnimationModifierTest extends TestCase
|
||||
{
|
||||
$image = $this->createTestImage('animation.gif');
|
||||
$this->assertEquals(8, count($image));
|
||||
$image = $image->modify(new RemoveAnimationModifier(2));
|
||||
$result = $image->modify(new RemoveAnimationModifier(2));
|
||||
$this->assertEquals(1, count($image));
|
||||
$this->assertEquals(1, count($result));
|
||||
}
|
||||
}
|
||||
|
@@ -18,7 +18,8 @@ class RemoveAnimationModifierTest extends TestCase
|
||||
{
|
||||
$image = $this->createTestImage('animation.gif');
|
||||
$this->assertEquals(8, count($image));
|
||||
$image = $image->modify(new RemoveAnimationModifier(2));
|
||||
$result = $image->modify(new RemoveAnimationModifier(2));
|
||||
$this->assertEquals(1, count($image));
|
||||
$this->assertEquals(1, count($result));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user