mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10088] Also ignore DBMS versions other than MySQLi in cache mock.
PHPBB3-10088
This commit is contained in:
parent
2f57bfb6f2
commit
7a39bdef89
1 changed files with 5 additions and 0 deletions
|
@ -59,7 +59,12 @@ class phpbb_mock_cache
|
||||||
|
|
||||||
if ($ignore_db_info)
|
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['mysqli_version']);
|
||||||
|
unset($cache_data['pgsql_version']);
|
||||||
|
unset($cache_data['sqlite_version']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$test->assertEquals($data, $cache_data);
|
$test->assertEquals($data, $cache_data);
|
||||||
|
|
Loading…
Add table
Reference in a new issue