You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

functional.php 630B

8 years ago
123456789101112131415161718
  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. );