mirror of
https://github.com/humhub/humhub.git
synced 2025-01-18 06:38:14 +01:00
Changed Base URL for Unit Tests
This commit is contained in:
parent
7e4d844ab3
commit
f81f901c26
@ -17,22 +17,29 @@ $testConfig = [
|
||||
'cookieValidationKey' => 'test'
|
||||
],
|
||||
'user' => [
|
||||
'enableSession' => false
|
||||
'enableSession' => false
|
||||
],
|
||||
'assetManager' => [
|
||||
'basePath' => '@root/assets/'
|
||||
]
|
||||
],
|
||||
],
|
||||
'params' => [
|
||||
'fixed-settings' => [
|
||||
'base' => [
|
||||
'baseUrl' => 'http://localhost'
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
defined('YII_APP_BASE_PATH') or define('YII_APP_BASE_PATH', dirname(dirname(dirname(dirname(__DIR__)))));
|
||||
return yii\helpers\ArrayHelper::merge(
|
||||
// Common Config
|
||||
require(YII_APP_BASE_PATH . '/humhub/config/common.php'),
|
||||
// Web Config
|
||||
require(YII_APP_BASE_PATH . '/humhub/config/web.php'),
|
||||
// Test Common Config
|
||||
require(__DIR__ . '/config.php'),
|
||||
// Unit Test Config
|
||||
$testConfig
|
||||
// Common Config
|
||||
require(YII_APP_BASE_PATH . '/humhub/config/common.php'),
|
||||
// Web Config
|
||||
require(YII_APP_BASE_PATH . '/humhub/config/web.php'),
|
||||
// Test Common Config
|
||||
require(__DIR__ . '/config.php'),
|
||||
// Unit Test Config
|
||||
$testConfig
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user