aboutsummaryrefslogtreecommitdiffstats
path: root/tests/session/extract_page_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/session/extract_page_test.php')
-rw-r--r--tests/session/extract_page_test.php16
1 files changed, 2 insertions, 14 deletions
diff --git a/tests/session/extract_page_test.php b/tests/session/extract_page_test.php
index c17845526f..9346973bc4 100644
--- a/tests/session/extract_page_test.php
+++ b/tests/session/extract_page_test.php
@@ -7,27 +7,15 @@
*
*/
-require_once dirname(__FILE__) . '/testable_facade.php';
+require_once dirname(__FILE__) . '/../test_framework/phpbb_session_test_case.php';
-class phpbb_session_extract_page_test extends phpbb_database_test_case
+class phpbb_session_extract_page_test extends phpbb_session_test_case
{
- public $session_factory;
- public $db;
- public $session_facade;
-
public function getDataSet()
{
return $this->createXMLDataSet(dirname(__FILE__).'/fixtures/sessions_empty.xml');
}
- public function setUp()
- {
- $this->session_factory = new phpbb_session_testable_factory;
- $this->db = $this->new_dbal();
- $this->session_facade =
- new phpbb_session_testable_facade($this->db, $this->session_factory);
- }
-
static public function extract_current_page_data()
{
return array(