refactored fixture feature.

This commit is contained in:
Qiang Xue 2014-01-19 23:17:53 -05:00
parent b40b962628
commit 19b2defb1a
2 changed files with 0 additions and 8 deletions

View File

@ -25,10 +25,6 @@ return [
], ],
], ],
'db' => $db, 'db' => $db,
'fixture' => [
'class' => 'yii\test\DbFixtureManager',
'basePath' => '@tests/unit/fixtures',
],
], ],
'params' => $params, 'params' => $params,
]; ];

View File

@ -5,10 +5,6 @@ return yii\helpers\ArrayHelper::merge(
require(__DIR__ . '/../_config.php'), require(__DIR__ . '/../_config.php'),
[ [
'components' => [ 'components' => [
'fixture' => [
'class' => 'yii\test\DbFixtureManager',
'basePath' => '@tests/unit/fixtures',
],
'db' => [ 'db' => [
'dsn' => 'mysql:host=localhost;dbname=yii2_basic_unit', 'dsn' => 'mysql:host=localhost;dbname=yii2_basic_unit',
], ],