2016-07-16 09:13:51 +08:00
|
|
|
<?php
|
2017-08-08 04:46:37 +08:00
|
|
|
$db = require __DIR__ . '/db.php';
|
2016-07-16 09:13:51 +08:00
|
|
|
// test database! Important not to run tests on production or development databases
|
2020-09-09 06:38:53 +08:00
|
|
|
$db['dsn'] = 'mysql:host=localhost;dbname=yii2basic_test';
|
2016-07-16 09:13:51 +08:00
|
|
|
|
2017-08-08 04:46:37 +08:00
|
|
|
return $db;
|