aboutsummaryrefslogtreecommitdiffstats
path: root/tests/version/version_test.php
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/version/version_test.php
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/version/version_test.php')
-rw-r--r--tests/version/version_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/version/version_test.php b/tests/version/version_test.php
index bc4f2c0294..ba31c79a79 100644
--- a/tests/version/version_test.php
+++ b/tests/version/version_test.php
@@ -30,7 +30,7 @@ class phpbb_version_helper_test extends phpbb_test_case
new \phpbb\config\config(array(
'version' => '3.1.0',
)),
- new \phpbb\user()
+ new \phpbb\user('\phpbb\datetime')
);
}
@@ -208,7 +208,7 @@ class phpbb_version_helper_test extends phpbb_test_case
new \phpbb\config\config(array(
'version' => $current_version,
)),
- new \phpbb\user(),
+ new \phpbb\user('\phpbb\datetime'),
))
->getMock()
;
@@ -318,7 +318,7 @@ class phpbb_version_helper_test extends phpbb_test_case
new \phpbb\config\config(array(
'version' => $current_version,
)),
- new \phpbb\user(),
+ new \phpbb\user('\phpbb\datetime'),
))
->getMock()
;