mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12932] Fix tests and calls to create_datetime
PHPBB3-12932
This commit is contained in:
@@ -266,7 +266,7 @@ class phpbb_avatar_manager_test extends \phpbb_test_case
|
||||
|
||||
public function test_localize_errors()
|
||||
{
|
||||
$user = $this->getMock('\phpbb\user');
|
||||
$user = $this->getMock('\phpbb\user', array(), array('\phpbb\datetime'));
|
||||
$lang_array = array(
|
||||
array('FOOBAR_OFF', 'foobar_off'),
|
||||
array('FOOBAR_EXPLAIN', 'FOOBAR_EXPLAIN %s'),
|
||||
|
Reference in New Issue
Block a user