mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/11015] Fix functional test case.
PHPBB3-11015
This commit is contained in:
@@ -86,7 +86,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
|||||||
{
|
{
|
||||||
global $phpbb_root_path, $phpEx;
|
global $phpbb_root_path, $phpEx;
|
||||||
// so we don't reopen an open connection
|
// so we don't reopen an open connection
|
||||||
if (!($this->db instanceof dbal))
|
if (!($this->db instanceof phpbb_db_driver))
|
||||||
{
|
{
|
||||||
$dbms = self::$config['dbms'];
|
$dbms = self::$config['dbms'];
|
||||||
$this->db = new $dbms();
|
$this->db = new $dbms();
|
||||||
|
Reference in New Issue
Block a user