/** * @dataProvider get_web_root_path_from_ajax_referer_data */ public function test_get_web_root_path_from_ajax_referer($referer_url, $board_url, $expected) { $this->assertEquals($this->phpbb_root_path . $expected, $this->path_helper->get_web_root_path_from_ajax_referer($referer_url, $board_url)); }