aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/cache.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-03-12 15:26:09 +0100
committerAndreas Fischer <bantu@phpbb.com>2011-03-12 15:26:09 +0100
commit7a39bdef890a4c781eda8ad03a6e3821a9f339df (patch)
tree45b7798c60b0be0cc0467de8bc44ff8143904388 /tests/mock/cache.php
parent2f57bfb6f297e9711bacb607faf6e33ab516db33 (diff)
downloadforums-7a39bdef890a4c781eda8ad03a6e3821a9f339df.tar
forums-7a39bdef890a4c781eda8ad03a6e3821a9f339df.tar.gz
forums-7a39bdef890a4c781eda8ad03a6e3821a9f339df.tar.bz2
forums-7a39bdef890a4c781eda8ad03a6e3821a9f339df.tar.xz
forums-7a39bdef890a4c781eda8ad03a6e3821a9f339df.zip
[ticket/10088] Also ignore DBMS versions other than MySQLi in cache mock.
PHPBB3-10088
Diffstat (limited to 'tests/mock/cache.php')
-rw-r--r--tests/mock/cache.php5
1 files changed, 5 insertions, 0 deletions
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);