aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/session_testable.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mock/session_testable.php')
-rw-r--r--tests/mock/session_testable.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/mock/session_testable.php b/tests/mock/session_testable.php
index 47089cb94b..56ff8c8b32 100644
--- a/tests/mock/session_testable.php
+++ b/tests/mock/session_testable.php
@@ -3,12 +3,11 @@
*
* @package testing
* @copyright (c) 2008 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
-require_once dirname(__FILE__) . '/../../phpBB/includes/session.php';
/**
* Extends the session class to overwrite the setting of cookies.
@@ -17,7 +16,7 @@ require_once dirname(__FILE__) . '/../../phpBB/includes/session.php';
* test it without warnings about sent headers. This class only stores cookie
* data for later verification.
*/
-class phpbb_mock_session_testable extends session
+class phpbb_mock_session_testable extends phpbb_session
{
private $_cookies = array();