mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16549] Fix tests
PHPBB3-16549
This commit is contained in:
@@ -62,7 +62,12 @@ abstract class phpbb_console_user_base extends phpbb_database_test_case
|
||||
$this->language->expects($this->any())
|
||||
->method('lang')
|
||||
->will($this->returnArgument(0));
|
||||
$user = $this->user = $this->createMock('\phpbb\user');
|
||||
|
||||
$user = $this->user = $this->createMock('\phpbb\user', array(), array(
|
||||
$this->language,
|
||||
'\phpbb\datetime'
|
||||
));
|
||||
$user->data['user_email'] = '';
|
||||
|
||||
$this->user_loader = new \phpbb\user_loader($db, $phpbb_root_path, $phpEx, USERS_TABLE);
|
||||
|
||||
|
Reference in New Issue
Block a user