15 lines
533 B
PHP
15 lines
533 B
PHP
<?php
|
|
// This is global bootstrap for autoloading
|
|
|
|
// disable Yii error handling logic
|
|
defined('YII_ENABLE_EXCEPTION_HANDLER') or define('YII_ENABLE_EXCEPTION_HANDLER', false);
|
|
defined('YII_ENABLE_ERROR_HANDLER') or define('YII_ENABLE_ERROR_HANDLER', false);
|
|
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
|
$_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
|
|
$_SERVER['SCRIPT_FILENAME'] = __FILE__;
|
|
|
|
require(__DIR__ . '/../vendor/yiisoft/yii/framework/yii.php');
|
|
require(__DIR__ . '/unit/TbTestCase.php');
|
|
|
|
Yii::$enableIncludePath = false;
|