Phpunit things

This commit is contained in:
bzick 2017-04-22 16:39:33 +03:00
parent 4d9a82314b
commit 44ac3b16e5

View File

@ -2,8 +2,6 @@
require(__DIR__ . "/../src/Fenom.php"); require(__DIR__ . "/../src/Fenom.php");
Fenom::registerAutoload(); Fenom::registerAutoload();
require_once __DIR__ . "/../vendor/autoload.php";
if(!class_exists('\PHPUnit_Framework_TestCase') && class_exists('\PHPUnit\Framework\TestCase')) { if(!class_exists('\PHPUnit_Framework_TestCase') && class_exists('\PHPUnit\Framework\TestCase')) {
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase'); class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');