<?php

return CMap::mergeArray(require(dirname(__FILE__) . '/main.php'), array(
            'components' => array(
                'fixture' => array(
                    'class' => 'system.test.CDbFixtureManager',
                ),
                'db' => array(
                    'connectionString' => 'mysql:host=localhost;dbname=factuges_test',
                    'emulatePrepare' => true,
                    'username' => 'root',
                    'password' => '',
                    'charset' => 'utf8',
                ),
                // Application Log
                'log' => array(
                    'class' => 'CLogRouter',
                    'routes' => array(
                        array(
                            'class' => 'CFileLogRoute',
                            'levels' => 'trace, info, error, warning',
                            'categories' => 'system.db.*',
                            'logFile' => 'test.sql.log',
                        ),
                        // Save log messages on file
                        array(
                            'class' => 'CFileLogRoute',
                            'levels' => 'trace',
                            'categories' => 'application.*',
                            'logFile' => 'test.application.log',
                        ),
                    ),
                ),
            ),
        ));
