7 lines
199 B
PHP
7 lines
199 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=yii2_basic_tests';
|
|
|
|
return $db;
|