@@ -1,3 +1,9 @@
<?php
-return [];
+return [
+ 'components' => [
+ 'db' => [
+ 'dsn' => 'mysql:host=localhost;dbname=yii2basic_acceptance',
+ ],
+];
+ 'dsn' => 'mysql:host=localhost;dbname=yii2basic_functional',
@@ -1,5 +1,7 @@
+Yii::setAlias('tests', realpath(__DIR__ . '/../tests'));
+
$config = require(__DIR__ . '/web.php');
// ... customize $config for the "test" environment here...