diff --git a/tests/Includes/Include.php b/tests/Includes/Include.php index 16ccd49..2ac604f 100644 --- a/tests/Includes/Include.php +++ b/tests/Includes/Include.php @@ -2,10 +2,4 @@ $basedir = dirname(__DIR__, 2); $srcdir = $basedir . DIRECTORY_SEPARATOR . 'src'; -include_once $srcdir . DIRECTORY_SEPARATOR . 'Constants.php'; - -$classMapPath = $srcdir . DIRECTORY_SEPARATOR . 'Cache' . DIRECTORY_SEPARATOR . 'classMap.php'; -$loader = new AntCMS\AntLoader(['path' => $classMapPath]); -$loader->addNamespace('AntCMS\\', $srcdir . DIRECTORY_SEPARATOR . 'AntCMS'); -$loader->checkClassMap(); -$loader->register(); +include_once $srcdir . DIRECTORY_SEPARATOR . 'Bootstrap.php';