aboutsummaryrefslogtreecommitdiffstats
path: root/tests/session/extract_page_test.php
diff options
context:
space:
mode:
authorAndy Chase <asperous2@gmail.com>2013-07-08 16:34:46 -0700
committerAndy Chase <asperous2@gmail.com>2013-07-08 16:34:46 -0700
commitcd1fe789d243e12330a049799818ed7b062ea347 (patch)
treec9d3d9ba1ac22e01ad0be4ec46cd864a00d7ef57 /tests/session/extract_page_test.php
parent3999d7ec7cc0860d3f955db9088558f92d1ba497 (diff)
downloadforums-cd1fe789d243e12330a049799818ed7b062ea347.tar
forums-cd1fe789d243e12330a049799818ed7b062ea347.tar.gz
forums-cd1fe789d243e12330a049799818ed7b062ea347.tar.bz2
forums-cd1fe789d243e12330a049799818ed7b062ea347.tar.xz
forums-cd1fe789d243e12330a049799818ed7b062ea347.zip
[ticket/11620] Minor changes to tests for coding standards
PHPBB3-11620
Diffstat (limited to 'tests/session/extract_page_test.php')
-rw-r--r--tests/session/extract_page_test.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/session/extract_page_test.php b/tests/session/extract_page_test.php
index f8883dc8c9..c17845526f 100644
--- a/tests/session/extract_page_test.php
+++ b/tests/session/extract_page_test.php
@@ -15,6 +15,19 @@ class phpbb_session_extract_page_test extends phpbb_database_test_case
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(
@@ -97,19 +110,6 @@ class phpbb_session_extract_page_test extends phpbb_database_test_case
);
}
- 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);
- }
-
/** @dataProvider extract_current_page_data */
function test_extract_current_page($root_path, $php_self, $query_string, $request_uri, $expected)
{