mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Update index-test.php
Added ./config/dynamic to index-test to allow more parity between dev and testing application configurations.
This commit is contained in:
parent
ed2a66481f
commit
71ad3947de
@ -17,6 +17,10 @@ defined('YII_ENV') or define('YII_ENV', 'test');
|
||||
require(__DIR__ . '/protected/vendor/autoload.php');
|
||||
require(__DIR__ . '/protected/vendor/yiisoft/yii2/Yii.php');
|
||||
|
||||
$config = require(__DIR__ . '/protected/humhub/tests/codeception/config/acceptance.php');
|
||||
$config = yii\helpers\ArrayHelper::merge(
|
||||
require(__DIR__ . '/protected/humhub/tests/codeception/config/acceptance.php'),
|
||||
// add more configurations here
|
||||
(is_readable(__DIR__ . '/protected/config/dynamic.php')) ? require(__DIR__ . '/protected/config/dynamic.php') : []
|
||||
);
|
||||
|
||||
(new humhub\components\Application($config))->run();
|
||||
|
Loading…
x
Reference in New Issue
Block a user