diff options
author | Nils Adermann <naderman@naderman.de> | 2012-03-31 18:16:55 +0200 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2012-03-31 18:16:55 +0200 |
commit | 7e2f16aafa47f8db51a12a293b0616cb75b4d12f (patch) | |
tree | 3e5e62baab0038d4895eaa9c7a47dadbc3eb4e84 /tests/security/extract_current_page_test.php | |
parent | 17a7b570747a91321903e30f3c0dd6f8246c0047 (diff) | |
parent | 9236dd4c471a6f7655bd00ae422a13013a400ac4 (diff) | |
download | forums-7e2f16aafa47f8db51a12a293b0616cb75b4d12f.tar forums-7e2f16aafa47f8db51a12a293b0616cb75b4d12f.tar.gz forums-7e2f16aafa47f8db51a12a293b0616cb75b4d12f.tar.bz2 forums-7e2f16aafa47f8db51a12a293b0616cb75b4d12f.tar.xz forums-7e2f16aafa47f8db51a12a293b0616cb75b4d12f.zip |
Merge remote-tracking branch 'github-igorw/feature/class-prefix' into develop
* github-igorw/feature/class-prefix:
[feature/class-prefix] Rename auth => phpbb_auth
[feature/class-prefix] Rename user and session to phpbb_*
Diffstat (limited to 'tests/security/extract_current_page_test.php')
-rw-r--r-- | tests/security/extract_current_page_test.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/security/extract_current_page_test.php b/tests/security/extract_current_page_test.php index 00fc3b5841..b4a475ffb3 100644 --- a/tests/security/extract_current_page_test.php +++ b/tests/security/extract_current_page_test.php @@ -10,7 +10,6 @@ require_once dirname(__FILE__) . '/base.php'; require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php'; -require_once dirname(__FILE__) . '/../../phpBB/includes/session.php'; class phpbb_security_extract_current_page_test extends phpbb_security_test_base { @@ -34,7 +33,7 @@ class phpbb_security_extract_current_page_test extends phpbb_security_test_base 'QUERY_STRING' => $query_string, )); - $result = session::extract_current_page('./'); + $result = phpbb_session::extract_current_page('./'); $label = 'Running extract_current_page on ' . $query_string . ' with PHP_SELF filled.'; $this->assertEquals($expected, $result['query_string'], $label); @@ -52,7 +51,7 @@ class phpbb_security_extract_current_page_test extends phpbb_security_test_base 'QUERY_STRING' => $query_string, )); - $result = session::extract_current_page('./'); + $result = phpbb_session::extract_current_page('./'); $label = 'Running extract_current_page on ' . $query_string . ' with REQUEST_URI filled.'; $this->assertEquals($expected, $result['query_string'], $label); |