aboutsummaryrefslogtreecommitdiffstats
path: root/tests/security/base.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/security/base.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/security/base.php')
-rw-r--r--tests/security/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/security/base.php b/tests/security/base.php
index 83d0649dfa..5519cac441 100644
--- a/tests/security/base.php
+++ b/tests/security/base.php
@@ -59,7 +59,7 @@ abstract class phpbb_security_test_base extends phpbb_test_case
$phpbb_filesystem = new \phpbb\filesystem($symfony_request, $phpbb_root_path, $phpEx);
// Set no user and trick a bit to circumvent errors
- $user = new \phpbb\user();
+ $user = new \phpbb\user('\phpbb\datetime');
$user->lang = true;
$user->browser = $server['HTTP_USER_AGENT'];
$user->referer = '';