mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
[ticket/15233] Amend tests for avatar helper
PHPBB3-15233
This commit is contained in:
@@ -57,7 +57,11 @@ class phpbb_notification_user_list_trim_test extends phpbb_database_test_case
|
||||
];
|
||||
$lang->add_lang('common');
|
||||
|
||||
$user_loader = new phpbb\user_loader($db, $phpbb_root_path, $phpEx, USERS_TABLE);
|
||||
$avatar_helper = $this->getMockBuilder('\phpbb\avatar\helper')
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
|
||||
$user_loader = new phpbb\user_loader($avatar_helper, $db, $phpbb_root_path, $phpEx, USERS_TABLE);
|
||||
$user_loader->load_users(array(2, 3, 4, 5, 6));
|
||||
|
||||
$this->notification = new phpbb_mock_notification_type_post(
|
||||
|
Reference in New Issue
Block a user