From 2fac2bbc9fe5e822d18539c3b9ccf83c43aceed5 Mon Sep 17 00:00:00 2001 From: bzick Date: Sat, 22 Apr 2017 16:34:19 +0300 Subject: [PATCH] Phpunit things --- tests/autoload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/autoload.php b/tests/autoload.php index f812588..a93020d 100644 --- a/tests/autoload.php +++ b/tests/autoload.php @@ -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'); } \ No newline at end of file