diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index 533c278..589745a 100644 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -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'; +} diff --git a/tests/PHPUnit_Framework_TestCase.inc.php b/tests/PHPUnit_Framework_TestCase.inc.php new file mode 100644 index 0000000..56babef --- /dev/null +++ b/tests/PHPUnit_Framework_TestCase.inc.php @@ -0,0 +1,11 @@ +