mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 11:01:14 +00:00
Fix absolute path in tests
This commit is contained in:
@@ -4,6 +4,12 @@
|
||||
## Unreleased
|
||||
|
||||
|
||||
## Release 0.109
|
||||
|
||||
#### Fixed
|
||||
- Fixed absolute paths in tests
|
||||
|
||||
|
||||
## Release 0.108
|
||||
|
||||
#### Added
|
||||
|
||||
@@ -20,9 +20,12 @@ if (version_compare($PHP_VERSION, '8.0.0', '>=')) {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
$dir = realpath(dirname(__FILE__));
|
||||
$file = $dir . DIRECTORY_SEPARATOR . 'dummy.pdf';
|
||||
|
||||
$img = new Imagick();
|
||||
|
||||
if ($img->readImage('dummy.pdf') !== True) {
|
||||
if ($img->readImage($file) !== True) {
|
||||
echo 'FAIL: newImage()';
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user