mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Adjusted test configs structure
This commit is contained in:
@ -7,5 +7,5 @@ namespace codeception\common\unit;
|
||||
*/
|
||||
class DbTestCase extends \yii\codeception\DbTestCase
|
||||
{
|
||||
public $appConfig = '@codeception/common/unit/_config.php';
|
||||
public $appConfig = '@codeception/config/common/unit.php';
|
||||
}
|
||||
|
@ -7,5 +7,5 @@ namespace common\tests\unit;
|
||||
*/
|
||||
class TestCase extends \yii\codeception\TestCase
|
||||
{
|
||||
public $appConfig = '@common/tests/unit/_config.php';
|
||||
public $appConfig = '@codeception/config/common/unit.php';
|
||||
}
|
||||
|
@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
return yii\helpers\ArrayHelper::merge(
|
||||
require(ROOT_DIR . '/common/config/main.php'),
|
||||
require(ROOT_DIR . '/common/config/main-local.php'),
|
||||
require(__DIR__ . '/../_config.php'),
|
||||
[
|
||||
'components' => [
|
||||
'db' => [
|
||||
'dsn' => 'mysql:host=localhost;dbname=yii2_advanced_unit',
|
||||
],
|
||||
],
|
||||
'id' => 'app-common',
|
||||
'basePath' => dirname(__DIR__),
|
||||
]
|
||||
);
|
Reference in New Issue
Block a user