aboutsummaryrefslogtreecommitdiffstats
path: root/tests/console/cron/cron_list_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/console/cron/cron_list_test.php')
-rw-r--r--tests/console/cron/cron_list_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/console/cron/cron_list_test.php b/tests/console/cron/cron_list_test.php
index 1059a3f221..22423304be 100644
--- a/tests/console/cron/cron_list_test.php
+++ b/tests/console/cron/cron_list_test.php
@@ -32,7 +32,7 @@ class phpbb_console_command_cron_list_test extends phpbb_test_case
protected function setUp()
{
- $this->user = $this->getMock('\phpbb\user');
+ $this->user = $this->getMock('\phpbb\user', array(), array('\phpbb\datetime'));
$this->user->method('lang')->will($this->returnArgument(0));
}