yii2-netdisk/config/test_db.php

6 lines
199 B
PHP
Raw Normal View History

2016-07-16 09:13:51 +08:00
<?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;