mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
[ticket/16346] Fix method arguments
PHPBB3-16346
This commit is contained in:
@@ -84,10 +84,7 @@ class phpbb_console_command_check_test extends phpbb_test_case
|
||||
|
||||
$this->language = new \phpbb\language\language(new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx));
|
||||
|
||||
$user = $this->createMock('\phpbb\user', array(), array(
|
||||
$this->language,
|
||||
'\phpbb\datetime'
|
||||
));
|
||||
$user = $this->createMock('\phpbb\user');
|
||||
$user->method('lang')->will($this->returnArgument(0));
|
||||
|
||||
$cache = $this->getMockBuilder('\phpbb\cache\service')
|
||||
|
Reference in New Issue
Block a user