From 556504df24a72d0cd5fbbd5b266f815f1353ab4c Mon Sep 17 00:00:00 2001
From: Tristan Darricau <github@nicofuma.fr>
Date: Mon, 18 Aug 2014 16:27:09 +0200
Subject: [PATCH] [ticket/12692] Fix tests

PHPBB3-12692
---
 tests/console/thumbnail_test.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/console/thumbnail_test.php b/tests/console/thumbnail_test.php
index 6af8e7e174..094d8ca051 100644
--- a/tests/console/thumbnail_test.php
+++ b/tests/console/thumbnail_test.php
@@ -47,7 +47,7 @@ class phpbb_console_command_thumbnail_test extends phpbb_database_test_case
 		));
 
 		$this->db = $this->db = $this->new_dbal();
-		$this->user = $this->getMock('\phpbb\user');
+		$this->user = $this->getMock('\phpbb\user', array(), array('\phpbb\datetime'));
 		$this->phpbb_root_path = $phpbb_root_path;
 		$this->phpEx = $phpEx;