1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-30 09:10:21 +02:00

Fix/GitHub workflow (#1423)

Switch back to Ubuntu 22 and pull in imagick via action instead of installing manually.
This commit is contained in:
Oliver Vogel
2025-01-18 16:35:21 +01:00
committed by GitHub
parent 5d64da97fd
commit 49c7cd0890
2 changed files with 11 additions and 24 deletions

View File

@@ -112,7 +112,10 @@ abstract class BaseTestCase extends MockeryTestCase
fclose($pointer);
$allowed = is_string($allowed) ? [$allowed] : $allowed;
$this->assertTrue(in_array($detected, $allowed));
$this->assertTrue(
in_array($detected, $allowed),
'Detected media type "' . $detected . '" is not: ' . join(', ', $allowed),
);
}
protected function assertMediaTypeBitmap(string|EncodedImage $input): void