aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-08-10 13:40:27 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-08-10 13:43:04 +0200
commit8d99b4afe1557a6ec0e760c4876bb06a3b9991d3 (patch)
treecaea0dc9618acd71add637ac8ed0fd83100fa5be /tests/extension
parenta57a96cbddbfdad65823aeca2901f26b62c9b12d (diff)
downloadforums-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/extension')
-rw-r--r--tests/extension/manager_test.php2
-rw-r--r--tests/extension/metadata_manager_test.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/extension/manager_test.php b/tests/extension/manager_test.php
index 1e43c2a0a3..5ec8e60a68 100644
--- a/tests/extension/manager_test.php
+++ b/tests/extension/manager_test.php
@@ -154,7 +154,7 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
$phpbb_root_path = __DIR__ . './../../phpBB/';
$php_ext = 'php';
$table_prefix = 'phpbb_';
- $user = new \phpbb\user();
+ $user = new \phpbb\user('\phpbb\user');
$migrator = new \phpbb\db\migrator(
$config,
diff --git a/tests/extension/metadata_manager_test.php b/tests/extension/metadata_manager_test.php
index 535e4fe0d5..8e27b39459 100644
--- a/tests/extension/metadata_manager_test.php
+++ b/tests/extension/metadata_manager_test.php
@@ -44,7 +44,7 @@ class phpbb_extension_metadata_manager_test extends phpbb_database_test_case
$this->db_tools = new \phpbb\db\tools($this->db);
$this->phpbb_root_path = dirname(__FILE__) . '/';
$this->phpEx = 'php';
- $this->user = new \phpbb\user();
+ $this->user = new \phpbb\user('\phpbb\datetime');
$this->table_prefix = 'phpbb_';
$this->template = new \phpbb\template\twig\twig(