mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12812] Remove unused global $db from tests
PHPBB3-12812
This commit is contained in:
@@ -20,11 +20,9 @@ class phpbb_dbal_migrator_tool_config_text_test extends phpbb_database_test_case
|
||||
|
||||
public function setup()
|
||||
{
|
||||
global $db;
|
||||
|
||||
parent::setup();
|
||||
|
||||
$db = $this->db = $this->new_dbal();
|
||||
$this->db = $this->new_dbal();
|
||||
$this->config_text = new \phpbb\config\db_text($this->db, 'phpbb_config_text');
|
||||
|
||||
$this->tool = new \phpbb\db\migration\tool\config_text($this->config_text);
|
||||
|
Reference in New Issue
Block a user