1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 23:41:29 +02:00

Merge branch 'ticket/17107' into ticket/17107-master

This commit is contained in:
rxu
2023-06-14 21:23:14 +07:00
5 changed files with 181 additions and 13 deletions

View File

@@ -19,7 +19,11 @@ class phpbb_viewonline_helper_test extends phpbb_test_case
{
parent::setUp();
$this->viewonline_helper = new \phpbb\viewonline_helper();
$db = $this->getMockBuilder('\phpbb\db\driver\mysqli')
->disableOriginalConstructor()
->getMock();
$this->viewonline_helper = new \phpbb\viewonline_helper($db);
}
public function session_pages_data()