mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-17 22:28:46 +01:00
[feature/dbal-tests] Remove hardcoded 'mysql' from PDO DSN in DBAL test.
This commit is contained in:
parent
e9de68f9a3
commit
4a2a84d7a2
@ -122,7 +122,7 @@ abstract class phpbb_database_test_case extends PHPUnit_Extensions_Database_Test
|
||||
|
||||
$pdo->exec('CREATE DATABASE ' . $database_config['dbname']);
|
||||
|
||||
$pdo = new PDO('mysql:host=' . $database_config['dbhost'] . ';dbname=' . $database_config['dbname'], $database_config['dbuser'], $database_config['dbpasswd']);
|
||||
$pdo = new PDO($dbms_data['PDO'] . ':host=' . $database_config['dbhost'] . ';dbname=' . $database_config['dbname'], $database_config['dbuser'], $database_config['dbpasswd']);
|
||||
|
||||
if ($database_config['dbms'] == 'mysql')
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user