Link to maintainership/funding post
[grauphel.git] / tests / html2tomboyXslTest.php
index 5e9139e934803bd1157ed2f9fd10102203db1272..199f2e4d3e799169098015dd19255d4216be5548 100644 (file)
@@ -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
+?>