mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/15233] Amend tests for avatar helper
PHPBB3-15233
This commit is contained in:
@@ -25,8 +25,11 @@ class phpbb_user_loader_test extends phpbb_database_test_case
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$avatar_helper = $this->getMockBuilder('\phpbb\avatar\helper')
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
$this->db = $this->new_dbal();
|
||||
$this->user_loader = new \phpbb\user_loader($this->db, __DIR__ . '/../../phpBB/', 'php', 'phpbb_users');
|
||||
$this->user_loader = new \phpbb\user_loader($avatar_helper, $this->db, __DIR__ . '/../../phpBB/', 'php', 'phpbb_users');
|
||||
}
|
||||
|
||||
public function test_load_get()
|
||||
|
Reference in New Issue
Block a user