mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-05 05:55:15 +02:00
[ticket/11850] More namespaces
PHPBB3-11850
This commit is contained in:
parent
870c293bab
commit
b81d0bc228
@ -37,7 +37,7 @@ abstract class phpbb_security_test_base extends phpbb_test_case
|
||||
*/
|
||||
|
||||
$request = new phpbb_mock_request(array(), array(), array(), $server);
|
||||
$symfony_request = $this->getMock("phpbb_symfony_request", array(), array(
|
||||
$symfony_request = $this->getMock("\phpbb\symfony_request", array(), array(
|
||||
$request,
|
||||
));
|
||||
$symfony_request->expects($this->any())
|
||||
|
@ -28,7 +28,7 @@ class phpbb_security_extract_current_page_test extends phpbb_security_test_base
|
||||
{
|
||||
global $symfony_request, $request;
|
||||
|
||||
$symfony_request = $this->getMock("phpbb_symfony_request", array(), array(
|
||||
$symfony_request = $this->getMock("\phpbb\symfony_request", array(), array(
|
||||
$request,
|
||||
));
|
||||
$symfony_request->expects($this->any())
|
||||
@ -56,7 +56,7 @@ class phpbb_security_extract_current_page_test extends phpbb_security_test_base
|
||||
{
|
||||
global $symfony_request, $request;
|
||||
|
||||
$symfony_request = $this->getMock("phpbb_symfony_request", array(), array(
|
||||
$symfony_request = $this->getMock("\phpbb\symfony_request", array(), array(
|
||||
$request,
|
||||
));
|
||||
$symfony_request->expects($this->any())
|
||||
|
@ -140,7 +140,7 @@ class phpbb_session_extract_page_test extends phpbb_session_test_case
|
||||
{
|
||||
global $symfony_request;
|
||||
|
||||
$symfony_request = $this->getMock("phpbb_symfony_request", array(), array(
|
||||
$symfony_request = $this->getMock("\phpbb\symfony_request", array(), array(
|
||||
new phpbb_mock_request(),
|
||||
));
|
||||
$symfony_request->expects($this->any())
|
||||
|
Loading…
x
Reference in New Issue
Block a user