diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-09-30 20:38:41 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-09-30 20:38:41 -0500 |
commit | b81d0bc2284faee73d5ca6ca74ae5f7f1eb3f574 (patch) | |
tree | ebe98557dd19f0c0f2353ad04afd9b6e3b91b5c3 | |
parent | 870c293bab260e1941c6c2e5fea1c11aa80472ec (diff) | |
download | forums-b81d0bc2284faee73d5ca6ca74ae5f7f1eb3f574.tar forums-b81d0bc2284faee73d5ca6ca74ae5f7f1eb3f574.tar.gz forums-b81d0bc2284faee73d5ca6ca74ae5f7f1eb3f574.tar.bz2 forums-b81d0bc2284faee73d5ca6ca74ae5f7f1eb3f574.tar.xz forums-b81d0bc2284faee73d5ca6ca74ae5f7f1eb3f574.zip |
[ticket/11850] More namespaces
PHPBB3-11850
-rw-r--r-- | tests/security/base.php | 2 | ||||
-rw-r--r-- | tests/security/extract_current_page_test.php | 4 | ||||
-rw-r--r-- | tests/session/extract_page_test.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/security/base.php b/tests/security/base.php index 26f267745c..ff92a7e2a3 100644 --- a/tests/security/base.php +++ b/tests/security/base.php @@ -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()) diff --git a/tests/security/extract_current_page_test.php b/tests/security/extract_current_page_test.php index 9980530dbe..1284aab94c 100644 --- a/tests/security/extract_current_page_test.php +++ b/tests/security/extract_current_page_test.php @@ -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()) diff --git a/tests/session/extract_page_test.php b/tests/session/extract_page_test.php index 123ae591c6..6e137e28b8 100644 --- a/tests/session/extract_page_test.php +++ b/tests/session/extract_page_test.php @@ -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()) |