diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2018-09-23 21:03:34 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2018-09-23 21:03:39 +0200 |
| commit | c357ddbafa4a6f66822db6528c07268f60b5c28d (patch) | |
| tree | 8ead05c5e938a5c35e225b480c5da29aec476121 /tests/html2tomboyXslTest.php | |
| parent | 2b59f9d35c81a9d25e87a4d9c48ee1097756a3bb (diff) | |
| download | grauphel-c357ddbafa4a6f66822db6528c07268f60b5c28d.tar.gz grauphel-c357ddbafa4a6f66822db6528c07268f60b5c28d.zip | |
Support phpunit 7, let travis test PHP 7.2 and 7.1
Diffstat (limited to 'tests/html2tomboyXslTest.php')
| -rw-r--r-- | tests/html2tomboyXslTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/html2tomboyXslTest.php b/tests/html2tomboyXslTest.php index 5e9139e..199f2e4 100644 --- a/tests/html2tomboyXslTest.php +++ b/tests/html2tomboyXslTest.php @@ -1,5 +1,5 @@ <?php -class html2tomboyXslTest extends PHPUnit_Framework_TestCase +class html2tomboyXslTest extends \PHPUnit\Framework\TestCase { /** * Use xsltproc and diff to check if the XSL file generates @@ -7,6 +7,7 @@ class html2tomboyXslTest extends PHPUnit_Framework_TestCase */ public function testFormat() { + chdir(__DIR__); exec( 'xsltproc' . ' ../templates/html2tomboy.xsl' @@ -21,4 +22,4 @@ class html2tomboyXslTest extends PHPUnit_Framework_TestCase ); } } -?>
\ No newline at end of file +?> |
