aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/migrator_test.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-01-24 12:06:45 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-02-07 14:41:39 +0100
commit37ae99c75d388221489aa1069078d92eca413741 (patch)
treec94d5cf5b816e7cfc5bf3e698f63b2b418629268 /tests/dbal/migrator_test.php
parent4ea90ca44d6d274f1ff6e6e3b4821f9e8cd1e9da (diff)
downloadforums-37ae99c75d388221489aa1069078d92eca413741.tar
forums-37ae99c75d388221489aa1069078d92eca413741.tar.gz
forums-37ae99c75d388221489aa1069078d92eca413741.tar.bz2
forums-37ae99c75d388221489aa1069078d92eca413741.tar.xz
forums-37ae99c75d388221489aa1069078d92eca413741.zip
[ticket/10748] Replace direct creations of tools();
PHPBB3-10748
Diffstat (limited to 'tests/dbal/migrator_test.php')
-rw-r--r--tests/dbal/migrator_test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/dbal/migrator_test.php b/tests/dbal/migrator_test.php
index 9b8383fc88..6416a2fcf7 100644
--- a/tests/dbal/migrator_test.php
+++ b/tests/dbal/migrator_test.php
@@ -38,7 +38,8 @@ class phpbb_dbal_migrator_test extends phpbb_database_test_case
parent::setUp();
$this->db = $this->new_dbal();
- $this->db_tools = new \phpbb\db\tools\tools($this->db);
+ $factory = new \phpbb\db\tools\factory();
+ $this->db_tools = $factory->get($this->db);
$this->config = new \phpbb\config\db($this->db, new phpbb_mock_cache, 'phpbb_config');