banki.test/config/test_db.php

7 lines
197 B
PHP
Raw Permalink Normal View History

<?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;