Phpunit things

This commit is contained in:
bzick 2017-04-22 16:34:19 +03:00
parent a591724d07
commit 2fac2bbc9f

View File

@ -11,6 +11,6 @@ require_once __DIR__ . "/tools.php";
ini_set('date.timezone', 'Europe/Moscow'); ini_set('date.timezone', 'Europe/Moscow');
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');
} }