Kohana v3.3.2

This commit is contained in:
Deon George
2014-09-06 23:43:07 +10:00
parent f96694b18f
commit 8888719653
236 changed files with 1685 additions and 996 deletions

View File

@@ -89,9 +89,9 @@ abstract class Kohana_Unittest_Database_TestCase extends PHPUnit_Extensions_Data
// Get the unittesting db connection
$config = Kohana::$config->load('database.'.$this->_database_connection);
if($config['type'] !== 'pdo')
if(strtolower($config['type']) !== 'pdo')
{
$config['connection']['dsn'] = $config['type'].':'.
$config['connection']['dsn'] = strtolower($config['type']).':'.
'host='.$config['connection']['hostname'].';'.
'dbname='.$config['connection']['database'];
}