mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +02:00
[feature/class-prefix] Rename user and session to phpbb_*
PHPBB-10609
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user