mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Phpunit things
This commit is contained in:
parent
4d9a82314b
commit
44ac3b16e5
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user