mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 01:27:20 +08:00
16 lines
367 B
PHP
16 lines
367 B
PHP
<?php
|
|
|
|
// ensure we get report on all possible php errors
|
|
error_reporting(-1);
|
|
|
|
define('YII_ENABLE_ERROR_HANDLER', false);
|
|
define('YII_DEBUG', true);
|
|
$_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
|
|
$_SERVER['SCRIPT_FILENAME'] = __FILE__;
|
|
|
|
require_once(__DIR__ . '/../../framework/yii/Yii.php');
|
|
|
|
Yii::setAlias('@yiiunit', __DIR__);
|
|
|
|
require_once(__DIR__ . '/TestCase.php');
|