diff options
Diffstat (limited to 'tests/mock/session_testable.php')
-rw-r--r-- | tests/mock/session_testable.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/mock/session_testable.php b/tests/mock/session_testable.php index 70a58fb6cc..d81ae3163e 100644 --- a/tests/mock/session_testable.php +++ b/tests/mock/session_testable.php @@ -8,7 +8,6 @@ */ 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(); @@ -59,5 +58,9 @@ class phpbb_mock_session_testable extends session } } } + + public function setup() + { + } } |