Browse Source

configs fixed and improved

tags/2.0.0-beta
Mark 11 years ago
parent
commit
fdd24fe341
  1. 8
      apps/basic/config/codeception/acceptance.php
  2. 8
      apps/basic/config/codeception/functional.php
  3. 2
      apps/basic/config/web-test.php

8
apps/basic/config/codeception/acceptance.php

@ -1,3 +1,9 @@
<?php
return [];
return [
'components' => [
'db' => [
'dsn' => 'mysql:host=localhost;dbname=yii2basic_acceptance',
],
],
];

8
apps/basic/config/codeception/functional.php

@ -1,3 +1,9 @@
<?php
return [];
return [
'components' => [
'db' => [
'dsn' => 'mysql:host=localhost;dbname=yii2basic_functional',
],
],
];

2
apps/basic/config/web-test.php

@ -1,5 +1,7 @@
<?php
Yii::setAlias('tests', realpath(__DIR__ . '/../tests'));
$config = require(__DIR__ . '/web.php');
// ... customize $config for the "test" environment here...

Loading…
Cancel
Save