diff options
author | Andreas Fischer <bantu@phpbb.com> | 2010-04-02 00:40:49 +0200 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2010-04-02 18:28:40 +0200 |
commit | 4a2a84d7a2d024c8ada93a7b23a8ef01141656b8 (patch) | |
tree | 33a272cb0c4208d05c2a0f73ae263d761078b3ee /tests/test_framework/phpbb_database_test_case.php | |
parent | e9de68f9a33b34653efe75219afcd0923a09df64 (diff) | |
download | forums-4a2a84d7a2d024c8ada93a7b23a8ef01141656b8.tar forums-4a2a84d7a2d024c8ada93a7b23a8ef01141656b8.tar.gz forums-4a2a84d7a2d024c8ada93a7b23a8ef01141656b8.tar.bz2 forums-4a2a84d7a2d024c8ada93a7b23a8ef01141656b8.tar.xz forums-4a2a84d7a2d024c8ada93a7b23a8ef01141656b8.zip |
[feature/dbal-tests] Remove hardcoded 'mysql' from PDO DSN in DBAL test.
Diffstat (limited to 'tests/test_framework/phpbb_database_test_case.php')
-rw-r--r-- | tests/test_framework/phpbb_database_test_case.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_framework/phpbb_database_test_case.php b/tests/test_framework/phpbb_database_test_case.php index d2ebe4c30e..d558874c6f 100644 --- a/tests/test_framework/phpbb_database_test_case.php +++ b/tests/test_framework/phpbb_database_test_case.php @@ -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') { |