Skip to content

Commit 1c53a0f

Browse files
authored
Merge pull request #168 from devilbox/release-0.109
Fix absolute path in tests
2 parents 83b4cb6 + fabc292 commit 1c53a0f

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
## Unreleased
55

66

7+
## Release 0.109
8+
9+
#### Fixed
10+
- Fixed absolute paths in tests
11+
12+
713
## Release 0.108
814

915
#### Added

tests/mods/modules/imagick/imagick-pdf.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@
2020
exit(0);
2121
}
2222

23+
$dir = realpath(dirname(__FILE__));
24+
$file = $dir . DIRECTORY_SEPARATOR . 'dummy.pdf';
25+
2326
$img = new Imagick();
2427

25-
if ($img->readImage('dummy.pdf') !== True) {
28+
if ($img->readImage($file) !== True) {
2629
echo 'FAIL: newImage()';
2730
exit(1);
2831
}

0 commit comments

Comments
 (0)