[ticket/331] Specify datetime class in tests

This commit is contained in:
Marc Alexander
2014-08-17 14:37:40 +02:00
parent dfc78cafd6
commit 85d4d85ee5
6 changed files with 7 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ class phpbb_unit_functions_functions_test extends \board3\portal\tests\testframe
parent::setUp();
$user = $this->getMock('\phpbb\user', array('optionget'));
$user = $this->getMock('\phpbb\user', array('optionget'), array('\phpbb\datetime'));
$cache = $this->getMock('\phpbb\cache\cache', array('obtain_word_list', 'sql_exists'));
$cache->expects($this->any())
->method('obtain_word_list')