mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17107] Fix viewonline helper test
PHPBB3-17107
This commit is contained in:
parent
f5c5d7d1e6
commit
130e7f7e8a
1 changed files with 5 additions and 1 deletions
|
@ -17,7 +17,11 @@ class phpbb_viewonline_helper_test extends phpbb_test_case
|
|||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->viewonline_helper = new \phpbb\viewonline_helper(new \phpbb\filesystem\filesystem());
|
||||
$db = $this->getMockBuilder('\phpbb\db\driver\mysqli')
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
|
||||
$this->viewonline_helper = new \phpbb\viewonline_helper(new \phpbb\filesystem\filesystem(), $db);
|
||||
}
|
||||
|
||||
public function session_pages_data()
|
||||
|
|
Loading…
Add table
Reference in a new issue