diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-08-10 13:40:27 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-08-10 13:43:04 +0200 |
commit | 8d99b4afe1557a6ec0e760c4876bb06a3b9991d3 (patch) | |
tree | caea0dc9618acd71add637ac8ed0fd83100fa5be /tests/dbal | |
parent | a57a96cbddbfdad65823aeca2901f26b62c9b12d (diff) | |
download | forums-8d99b4afe1557a6ec0e760c4876bb06a3b9991d3.tar forums-8d99b4afe1557a6ec0e760c4876bb06a3b9991d3.tar.gz forums-8d99b4afe1557a6ec0e760c4876bb06a3b9991d3.tar.bz2 forums-8d99b4afe1557a6ec0e760c4876bb06a3b9991d3.tar.xz forums-8d99b4afe1557a6ec0e760c4876bb06a3b9991d3.zip |
[ticket/12932] Fix tests and calls to create_datetime
PHPBB3-12932
Diffstat (limited to 'tests/dbal')
-rw-r--r-- | tests/dbal/migrator_test.php | 2 | ||||
-rw-r--r-- | tests/dbal/migrator_tool_module_test.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/dbal/migrator_test.php b/tests/dbal/migrator_test.php index 4a1d15aea4..10a9444d63 100644 --- a/tests/dbal/migrator_test.php +++ b/tests/dbal/migrator_test.php @@ -60,7 +60,7 @@ class phpbb_dbal_migrator_test extends phpbb_database_test_case $container = new phpbb_mock_container_builder(); $container->set('migrator', $migrator); - $user = new \phpbb\user(); + $user = new \phpbb\user('\phpbb\datetime'); $this->extension_manager = new \phpbb\extension\manager( $container, diff --git a/tests/dbal/migrator_tool_module_test.php b/tests/dbal/migrator_tool_module_test.php index aeb69e27ac..08c3e979b8 100644 --- a/tests/dbal/migrator_tool_module_test.php +++ b/tests/dbal/migrator_tool_module_test.php @@ -32,7 +32,7 @@ class phpbb_dbal_migrator_tool_module_test extends phpbb_database_test_case $db = $this->db = $this->new_dbal(); $this->cache = new \phpbb\cache\service(new \phpbb\cache\driver\null(), new \phpbb\config\config(array()), $this->db, $phpbb_root_path, $phpEx); - $user = $this->user = new \phpbb\user(); + $user = $this->user = new \phpbb\user('\phpbb\user'); $cache = new phpbb_mock_cache; $phpbb_dispatcher = new phpbb_mock_event_dispatcher(); |