- diffutils
- xsltproc
php:
- - 7
+ - 7.2
+ - 7.1
- 5.6
script:
- cd tests
require_once __DIR__ . '/../../../lib/converter/base.php';
require_once __DIR__ . '/../../../lib/converter/html.php';
-class Lib_Converter_HtmlTest extends PHPUnit_Framework_TestCase
+class Lib_Converter_HtmlTest extends \PHPUnit\Framework\TestCase
{
public function testConvert()
{
);
}
}
-?>
\ No newline at end of file
+?>
use OCA\Grauphel\Search\Queryparser;
-class Lib_Search_QueryParserTest extends PHPUnit_Framework_TestCase
+class Lib_Search_QueryParserTest extends \PHPUnit\Framework\TestCase
{
public function testParseSimple()
{
<?php
-class html2tomboyXslTest extends PHPUnit_Framework_TestCase
+class html2tomboyXslTest extends \PHPUnit\Framework\TestCase
{
/**
* Use xsltproc and diff to check if the XSL file generates
*/
public function testFormat()
{
+ chdir(__DIR__);
exec(
'xsltproc'
. ' ../templates/html2tomboy.xsl'
);
}
}
-?>
\ No newline at end of file
+?>