aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notification/base.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-08-10 15:24:43 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-08-10 15:24:43 +0200
commitd998efcf54f3a7ec202a98555c70094aede7ec42 (patch)
treea69aa6fd09f7d8a8f386bb7f3520c6a3dbde213b /tests/notification/base.php
parent58a863dbadbb316076647cfa235c69951d66df77 (diff)
parent54b0ebc4106b985053e0c1827283e77fcfb596af (diff)
downloadforums-d998efcf54f3a7ec202a98555c70094aede7ec42.tar
forums-d998efcf54f3a7ec202a98555c70094aede7ec42.tar.gz
forums-d998efcf54f3a7ec202a98555c70094aede7ec42.tar.bz2
forums-d998efcf54f3a7ec202a98555c70094aede7ec42.tar.xz
forums-d998efcf54f3a7ec202a98555c70094aede7ec42.zip
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12932] Remove set_datetime_class method from user class [ticket/12932] Fix tests and calls to create_datetime [ticket/12932] Add method for getting the datetime class and allow overriding Conflicts: phpBB/config/services.yml
Diffstat (limited to 'tests/notification/base.php')
-rw-r--r--tests/notification/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/notification/base.php b/tests/notification/base.php
index a66e5986fd..bfa9d2a1a4 100644
--- a/tests/notification/base.php
+++ b/tests/notification/base.php
@@ -56,7 +56,7 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
'allow_topic_notify' => true,
'allow_forum_notify' => true,
));
- $user = $this->user = new \phpbb\user();
+ $user = $this->user = new \phpbb\user('\phpbb\datetime');
$this->user_loader = new \phpbb\user_loader($this->db, $phpbb_root_path, $phpEx, 'phpbb_users');
$auth = $this->auth = new phpbb_mock_notifications_auth();
$cache = $this->cache = new \phpbb\cache\service(