19 lines
630B

  1. <?php
  2. $_SERVER['SCRIPT_FILENAME'] = YII_TEST_BACKEND_ENTRY_FILE;
  3. $_SERVER['SCRIPT_NAME'] = YII_BACKEND_TEST_ENTRY_URL;
  4. /**
  5. * Application configuration for backend functional tests
  6. */
  7. return yii\helpers\ArrayHelper::merge(
  8. require(YII_APP_BASE_PATH . '/common/config/main.php'),
  9. require(YII_APP_BASE_PATH . '/common/config/main-local.php'),
  10. require(YII_APP_BASE_PATH . '/backend/config/main.php'),
  11. require(YII_APP_BASE_PATH . '/backend/config/main-local.php'),
  12. require(dirname(__DIR__) . '/config.php'),
  13. require(dirname(__DIR__) . '/functional.php'),
  14. require(__DIR__ . '/config.php'),
  15. [
  16. ]
  17. );