mirror of
https://github.com/Oreolek/yii2-nested-sets.git
synced 2024-06-17 07:10:46 +03:00
15 lines
326 B
PHP
15 lines
326 B
PHP
<?php
|
|
|
|
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
|
defined('YII_ENV') or define('YII_ENV', 'test');
|
|
|
|
require(__DIR__ . '/../vendor/autoload.php');
|
|
require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');
|
|
|
|
Yii::setAlias('@tests', __DIR__);
|
|
|
|
new \yii\console\Application([
|
|
'id' => 'unit',
|
|
'basePath' => __DIR__,
|
|
]);
|