aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/migrator_tool_config_text_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dbal/migrator_tool_config_text_test.php')
-rw-r--r--tests/dbal/migrator_tool_config_text_test.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/dbal/migrator_tool_config_text_test.php b/tests/dbal/migrator_tool_config_text_test.php
index f832105e00..b271c2d62e 100644
--- a/tests/dbal/migrator_tool_config_text_test.php
+++ b/tests/dbal/migrator_tool_config_text_test.php
@@ -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);