Skip to content

Commit

Permalink
Merge pull request #168 from devilbox/release-0.109
Browse files Browse the repository at this point in the history
Fix absolute path in tests
  • Loading branch information
cytopia authored Aug 9, 2020
2 parents 83b4cb6 + fabc292 commit 1c53a0f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
## Unreleased


## Release 0.109

#### Fixed
- Fixed absolute paths in tests


## Release 0.108

#### Added
Expand Down
5 changes: 4 additions & 1 deletion tests/mods/modules/imagick/imagick-pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@
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);
}
Expand Down

0 comments on commit 1c53a0f

Please sign in to comment.