_bootstrap.php 353 B

12345678910
  1. <?php
  2. require_once(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');
  3. defined('YII_DEBUG') or define('YII_DEBUG', true);
  4. defined('YII_ENV') or define('YII_ENV', 'test');
  5. $_SERVER['SCRIPT_FILENAME'] = codecept_root_dir() . '/web/index.php';
  6. $_SERVER['SCRIPT_NAME'] = 'http://localhost:8080/index-test.php';
  7. \Codeception\Specify\Config::setDeepClone(false);