Phpunit things

This commit is contained in:
bzick 2017-04-22 16:34:19 +03:00
parent a591724d07
commit 2fac2bbc9f
1 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,6 @@ require_once __DIR__ . "/tools.php";
ini_set('date.timezone', 'Europe/Moscow');
if(!class_exists('PHPUnit_Framework_TestCase') && class_exists('PHPUnit\Framework\TestCase')) {
class_alias('PHPUnit\Framework\TestCase', 'PHPUnit_Framework_TestCase');
if(!class_exists('\PHPUnit_Framework_TestCase') && class_exists('\PHPUnit\Framework\TestCase')) {
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
}