yii2-netdisk/config/test_db.php

7 lines
197 B
PHP
Raw Normal View History

2016-07-16 09:13:51 +08:00
<?php
$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
$db['dsn'] = 'mysql:host=localhost;dbname=yii2basic_test';
2016-07-16 09:13:51 +08:00
return $db;