mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 19:54:12 +02:00
[ticket/16741] Test fixes
PHPBB3-16741
This commit is contained in:
@@ -14,7 +14,7 @@ require_once __DIR__ . '/../mock/sql_insert_buffer.php';
|
||||
|
||||
class phpbb_notification_convert_test extends phpbb_database_test_case
|
||||
{
|
||||
protected $notifications, $db, $container, $user, $config, $auth, $cache;
|
||||
protected $notifications, $db, $doctrine_db, $container, $user, $config, $auth, $cache;
|
||||
|
||||
public function getDataSet()
|
||||
{
|
||||
@@ -28,12 +28,13 @@ class phpbb_notification_convert_test extends phpbb_database_test_case
|
||||
global $phpbb_root_path, $phpEx;
|
||||
|
||||
$this->db = $this->new_dbal();
|
||||
$this->doctrine_db = $this->new_doctrine_dbal();
|
||||
$factory = new \phpbb\db\tools\factory();
|
||||
|
||||
$this->migration = new \phpbb\db\migration\data\v310\notification_options_reconvert(
|
||||
new \phpbb\config\config(array()),
|
||||
$this->db,
|
||||
$factory->get($this->db),
|
||||
$factory->get($this->doctrine_db),
|
||||
$phpbb_root_path,
|
||||
$phpEx,
|
||||
'phpbb_',
|
||||
|
Reference in New Issue
Block a user