7 lines
197 B
PHP
7 lines
197 B
PHP
|
<?php
|
||
|
$db = require __DIR__ . '/db.php';
|
||
|
// test database! Important not to run tests on production or development databases
|
||
|
$db['dsn'] = 'mysql:host=localhost;dbname=yii2basic_test';
|
||
|
|
||
|
return $db;
|