aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_framework')
-rw-r--r--tests/test_framework/phpbb_database_connection_helper.php2
-rw-r--r--tests/test_framework/phpbb_database_test_connection_manager.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_framework/phpbb_database_connection_helper.php b/tests/test_framework/phpbb_database_connection_helper.php
index fbb85784f8..5eba2e7a2e 100644
--- a/tests/test_framework/phpbb_database_connection_helper.php
+++ b/tests/test_framework/phpbb_database_connection_helper.php
@@ -14,7 +14,7 @@
*
* This is used in the custom PHPUnit ODBC driver
*/
-class phpbb_database_connection_ODBC_PDO_wrapper extends PDO
+class phpbb_database_connection_odbc_pdo_wrapper extends PDO
{
// Name of the driver being used (i.e. mssql, firebird)
public $driver = '';
diff --git a/tests/test_framework/phpbb_database_test_connection_manager.php b/tests/test_framework/phpbb_database_test_connection_manager.php
index 3c4a112d0d..8e214121f3 100644
--- a/tests/test_framework/phpbb_database_test_connection_manager.php
+++ b/tests/test_framework/phpbb_database_test_connection_manager.php
@@ -97,13 +97,13 @@ class phpbb_database_test_connection_manager
{
case 'mssql':
case 'mssql_odbc':
- $this->pdo = new phpbb_database_connection_ODBC_PDO_wrapper('mssql', 0, $dsn, $this->config['dbuser'], $this->config['dbpasswd']);
+ $this->pdo = new phpbb_database_connection_odbc_pdo_wrapper('mssql', 0, $dsn, $this->config['dbuser'], $this->config['dbpasswd']);
break;
case 'firebird':
if (!empty($this->config['custom_dsn']))
{
- $this->pdo = new phpbb_database_connection_ODBC_PDO_wrapper('firebird', 0, $dsn, $this->config['dbuser'], $this->config['dbpasswd']);
+ $this->pdo = new phpbb_database_connection_odbc_pdo_wrapper('firebird', 0, $dsn, $this->config['dbuser'], $this->config['dbpasswd']);
break;
}
// Fall through if they're using the firebird PDO driver and not the generic ODBC driver