aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pagination
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/pagination
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/pagination')
-rw-r--r--tests/pagination/pagination_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pagination/pagination_test.php b/tests/pagination/pagination_test.php
index ace8c1eed0..321d6c2caf 100644
--- a/tests/pagination/pagination_test.php
+++ b/tests/pagination/pagination_test.php
@@ -29,7 +29,7 @@ class phpbb_pagination_pagination_test extends phpbb_template_template_test_case
global $phpbb_dispatcher;
$phpbb_dispatcher = new phpbb_mock_event_dispatcher;
- $this->user = $this->getMock('\phpbb\user');
+ $this->user = $this->getMock('\phpbb\user', array(), array('\phpbb\datetime'));
$this->user->expects($this->any())
->method('lang')
->will($this->returnCallback(array($this, 'return_callback_implode')));