From 7a39bdef890a4c781eda8ad03a6e3821a9f339df Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sat, 12 Mar 2011 15:26:09 +0100 Subject: [PATCH] [ticket/10088] Also ignore DBMS versions other than MySQLi in cache mock. PHPBB3-10088 --- tests/mock/cache.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/mock/cache.php b/tests/mock/cache.php index 738d1eaaba..11e525ff79 100644 --- a/tests/mock/cache.php +++ b/tests/mock/cache.php @@ -59,7 +59,12 @@ class phpbb_mock_cache if ($ignore_db_info) { + unset($cache_data['mssqlodbc_version']); + unset($cache_data['mssql_version']); + unset($cache_data['mysql_version']); unset($cache_data['mysqli_version']); + unset($cache_data['pgsql_version']); + unset($cache_data['sqlite_version']); } $test->assertEquals($data, $cache_data);