mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17032] Fix missing parameter in user loader tests
PHPBB3-17032
This commit is contained in:
parent
8e773b4dcf
commit
38b011d24e
1 changed files with 4 additions and 1 deletions
|
@ -25,8 +25,11 @@ class phpbb_user_loader_no_guest_test extends phpbb_database_test_case
|
||||||
{
|
{
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
|
$avatar_helper = $this->getMockBuilder('\phpbb\avatar\helper')
|
||||||
|
->disableOriginalConstructor()
|
||||||
|
->getMock();
|
||||||
$this->db = $this->new_dbal();
|
$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()
|
public function test_load_get()
|
||||||
|
|
Loading…
Add table
Reference in a new issue