[ticket/11700] Namespace needed for mock object in web path test

PHPBB3-11700
This commit is contained in:
Nils Adermann 2013-09-17 18:18:31 +02:00
parent 1d7f8f8193
commit 20b2d03e3b

View file

@ -118,7 +118,7 @@ class phpbb_filesystem_web_root_path_test extends phpbb_test_case
*/ */
public function test_update_web_root_path($input, $expected, $getPathInfo, $getRequestUri = null, $getScriptName = null) public function test_update_web_root_path($input, $expected, $getPathInfo, $getRequestUri = null, $getScriptName = null)
{ {
$symfony_request = $this->getMock("phpbb_symfony_request", array(), array( $symfony_request = $this->getMock("\phpbb\symfony_request", array(), array(
new phpbb_mock_request(), new phpbb_mock_request(),
)); ));
$symfony_request->expects($this->any()) $symfony_request->expects($this->any())