init
This commit is contained in:
18
vendor/rmrevin/yii2-fontawesome/tests/unit/bootstrap.php
vendored
Normal file
18
vendor/rmrevin/yii2-fontawesome/tests/unit/bootstrap.php
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
* bootstrap.php
|
||||
* @author Revin Roman
|
||||
* @link https://rmrevin.ru
|
||||
*/
|
||||
|
||||
define('YII_ENABLE_ERROR_HANDLER', true);
|
||||
define('YII_DEBUG', true);
|
||||
$_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
|
||||
$_SERVER['SCRIPT_FILENAME'] = __FILE__;
|
||||
|
||||
require_once(__DIR__ . '/../../vendor/yiisoft/yii2/Yii.php');
|
||||
require_once(__DIR__ . '/../../vendor/autoload.php');
|
||||
|
||||
Yii::setAlias('@yiiunit', __DIR__);
|
||||
|
||||
require_once(__DIR__ . '/TestCase.php');
|
||||
Reference in New Issue
Block a user