git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support phpunit 7, let travis test PHP 7.2 and 7.1
[grauphel.git]
/
tests
/
html2tomboyXslTest.php
diff --git
a/tests/html2tomboyXslTest.php
b/tests/html2tomboyXslTest.php
index 5e9139e934803bd1157ed2f9fd10102203db1272..199f2e4d3e799169098015dd19255d4216be5548 100644
(file)
--- a/
tests/html2tomboyXslTest.php
+++ b/
tests/html2tomboyXslTest.php
@@
-1,5
+1,5
@@
<?php
<?php
-class html2tomboyXslTest extends
PHPUnit_Framework_
TestCase
+class html2tomboyXslTest extends
\PHPUnit\Framework\
TestCase
{
/**
* Use xsltproc and diff to check if the XSL file generates
{
/**
* Use xsltproc and diff to check if the XSL file generates
@@
-7,6
+7,7
@@
class html2tomboyXslTest extends PHPUnit_Framework_TestCase
*/
public function testFormat()
{
*/
public function testFormat()
{
+ chdir(__DIR__);
exec(
'xsltproc'
. ' ../templates/html2tomboy.xsl'
exec(
'xsltproc'
. ' ../templates/html2tomboy.xsl'
@@
-21,4
+22,4
@@
class html2tomboyXslTest extends PHPUnit_Framework_TestCase
);
}
}
);
}
}
-?>
\ No newline at end of file
+?>