1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/15233] Amend tests for avatar helper

PHPBB3-15233
This commit is contained in:
mrgoldy
2019-12-17 20:28:59 +01:00
committed by Marc Alexander
parent 34aaf5e6d2
commit a9b63a4724
9 changed files with 31 additions and 8 deletions

View File

@@ -113,7 +113,11 @@ class phpbb_group_helper_test_case extends phpbb_test_case
$user = new \phpbb\user($lang, '\phpbb\datetime');
$user->data['user_id'] = ANONYMOUS;
$this->group_helper = new \phpbb\group\helper($auth, $cache_service, $config, $lang, $phpbb_dispatcher, $path_helper, $user);
$avatar_helper = $this->getMockBuilder('\phpbb\avatar\helper')
->disableOriginalConstructor()
->getMock();
$this->group_helper = new \phpbb\group\helper($auth, $avatar_helper, $cache_service, $config, $lang, $phpbb_dispatcher, $path_helper, $user);
}
protected function setUp(): void