PHPUnit: made compatible with v6, which is now namespaced.

This commit is contained in:
Christian Bläul
2017-11-25 12:59:06 +01:00
committed by Fonata
parent fd5fb96bce
commit db1e242d07
6 changed files with 19 additions and 4 deletions

View File

@@ -4,3 +4,7 @@ $dir = realpath(__DIR__);
defined('BASE') OR define('BASE', dirname($dir) . '/');
require_once BASE . 'parsecsv.lib.php';
if (class_exists('PHPUnit_Framework_TestCase')) {
require_once __DIR__ . '/PHPUnit_Framework_TestCase.inc.php';
}