Skip to content

Commit

Permalink
Fix gmackig mock
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Dec 3, 2024
1 parent 3704e6b commit 57adb89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/tests/Gmagick/LayersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,11 @@ public function testCount()

public function testWebpFormatIsAllowedAsAnimatedFormat()
{
$palette = new RGB();
$this->checkGmagickMockable();
$resource = $this->getMockBuilder('\Gmagick')->getMock();

$palette = new RGB();

$resource->expects($this->atLeastOnce())
->method('getNumberImages')
->will($this->returnValue(42));
Expand Down

0 comments on commit 57adb89

Please sign in to comment.