Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Oct 26, 2021
1 parent 2c63755 commit a1ff69a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Utils/Image.drawing.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $image->filledEllipse(187, 125, $radius, $radius, Image::rgb(0, 0, 255, 75));

$image->copyResampled($image, 200, 200, 0, 0, 80, 80, $size, $size);

$file = defined('PHP_WINDOWS_VERSION_BUILD') && PHP_VERSION_ID >= 80100
$file = defined('PHP_WINDOWS_VERSION_BUILD') && PHP_VERSION_ID >= 70424
? '/expected/Image.drawing.1b.gd2'
: '/expected/Image.drawing.1.gd2';
Assert::same(file_get_contents(__DIR__ . $file), toGd2($image));
Expand Down

0 comments on commit a1ff69a

Please sign in to comment.