mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 18:41:52 +02:00
[ticket/17107] Fix viewonline helper test
PHPBB3-17107
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user