aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2014-07-07 12:50:18 -0700
committerMatt Friedman <maf675@gmail.com>2014-07-07 12:50:18 -0700
commit5ef7510fb3c7dac8ef6e74c37c97e0efb59a4799 (patch)
tree99e58525aeac1a19b09db687167d3757756c6389
parent5527044a00c7bdff1a3a6edfabdbe7583935bbaa (diff)
downloadforums-5ef7510fb3c7dac8ef6e74c37c97e0efb59a4799.tar
forums-5ef7510fb3c7dac8ef6e74c37c97e0efb59a4799.tar.gz
forums-5ef7510fb3c7dac8ef6e74c37c97e0efb59a4799.tar.bz2
forums-5ef7510fb3c7dac8ef6e74c37c97e0efb59a4799.tar.xz
forums-5ef7510fb3c7dac8ef6e74c37c97e0efb59a4799.zip
[ticket/12812] Remove unused global $db from tests
PHPBB3-12812
-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);