aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/db_tools_test.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-12-06 16:34:02 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-12-06 17:10:07 +0100
commitec90f2b380a598a3dbf7ada0e95878d9d1b85cbe (patch)
treef2cbf3419cbf1c0fea7391f03dfb418cc5c9dc72 /tests/dbal/db_tools_test.php
parentd78bb2865b27aa753b165fdc8aaa73ed82eaeac8 (diff)
downloadforums-ec90f2b380a598a3dbf7ada0e95878d9d1b85cbe.tar
forums-ec90f2b380a598a3dbf7ada0e95878d9d1b85cbe.tar.gz
forums-ec90f2b380a598a3dbf7ada0e95878d9d1b85cbe.tar.bz2
forums-ec90f2b380a598a3dbf7ada0e95878d9d1b85cbe.tar.xz
forums-ec90f2b380a598a3dbf7ada0e95878d9d1b85cbe.zip
[ticket/13421] Move tools to subdirectory
PHPBB3-13421
Diffstat (limited to 'tests/dbal/db_tools_test.php')
-rw-r--r--tests/dbal/db_tools_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/dbal/db_tools_test.php b/tests/dbal/db_tools_test.php
index d34a2249ef..7d01376062 100644
--- a/tests/dbal/db_tools_test.php
+++ b/tests/dbal/db_tools_test.php
@@ -17,7 +17,7 @@ class phpbb_dbal_db_tools_test extends phpbb_database_test_case
{
/** @var \phpbb\db\driver\driver_interface */
protected $db;
- /** @var \phpbb\db\tools_interface */
+ /** @var \phpbb\db\tools\tools_interface */
protected $tools;
protected $table_exists;
protected $table_data;
@@ -32,7 +32,7 @@ class phpbb_dbal_db_tools_test extends phpbb_database_test_case
parent::setUp();
$this->db = $this->new_dbal();
- $this->tools = new \phpbb\db\tools($this->db);
+ $this->tools = new \phpbb\db\tools\tools($this->db);
$this->table_data = array(
'COLUMNS' => array(
@@ -340,7 +340,7 @@ class phpbb_dbal_db_tools_test extends phpbb_database_test_case
public function test_perform_schema_changes_drop_tables()
{
- $db_tools = $this->getMock('\phpbb\db\tools', array(
+ $db_tools = $this->getMock('\phpbb\db\tools\tools', array(
'sql_table_exists',
'sql_table_drop',
), array(&$this->db));
@@ -366,7 +366,7 @@ class phpbb_dbal_db_tools_test extends phpbb_database_test_case
public function test_perform_schema_changes_drop_columns()
{
- $db_tools = $this->getMock('\phpbb\db\tools', array(
+ $db_tools = $this->getMock('\phpbb\db\tools\tools', array(
'sql_column_exists',
'sql_column_remove',
), array(&$this->db));