diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-12-10 00:03:24 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-12-10 00:03:24 +0100 |
commit | d22fa412c4ec3d52c3a1d41bfb9f968bbbf3a94e (patch) | |
tree | 27495229af76de3996f8a2996dee1c6e52cc93c2 /tests/dbal/db_tools_test.php | |
parent | 8a357181492ef7c41ed6289ef1c5e8e0e4bdd6be (diff) | |
parent | ec90f2b380a598a3dbf7ada0e95878d9d1b85cbe (diff) | |
download | forums-d22fa412c4ec3d52c3a1d41bfb9f968bbbf3a94e.tar forums-d22fa412c4ec3d52c3a1d41bfb9f968bbbf3a94e.tar.gz forums-d22fa412c4ec3d52c3a1d41bfb9f968bbbf3a94e.tar.bz2 forums-d22fa412c4ec3d52c3a1d41bfb9f968bbbf3a94e.tar.xz forums-d22fa412c4ec3d52c3a1d41bfb9f968bbbf3a94e.zip |
Merge pull request #3220 from nickvergessen/ticket/13421
Ticket/13421 Introduce an interface for db\tools.php
Diffstat (limited to 'tests/dbal/db_tools_test.php')
-rw-r--r-- | tests/dbal/db_tools_test.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/dbal/db_tools_test.php b/tests/dbal/db_tools_test.php index 51f9daacfb..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 */ + /** @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)); |