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:
@@ -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
|
||||
|
Reference in New Issue
Block a user