diff options
author | Vjacheslav Trushkin <arty@phpbb.com> | 2012-04-01 19:14:53 +0300 |
---|---|---|
committer | Vjacheslav Trushkin <arty@phpbb.com> | 2012-04-01 19:14:53 +0300 |
commit | f5bac7686b1678dbd33eddd368d845237bb18943 (patch) | |
tree | a3fde09ac4f49b8aa117ae34e6b6bc160c2e2f0b /tests/template | |
parent | 2509853ca530b3b5e0d5b2e10080eeba5a29d937 (diff) | |
download | forums-f5bac7686b1678dbd33eddd368d845237bb18943.tar forums-f5bac7686b1678dbd33eddd368d845237bb18943.tar.gz forums-f5bac7686b1678dbd33eddd368d845237bb18943.tar.bz2 forums-f5bac7686b1678dbd33eddd368d845237bb18943.tar.xz forums-f5bac7686b1678dbd33eddd368d845237bb18943.zip |
[ticket/10733] Removing static from data providers
Removing static from data provider functions
PHPBB3-10733
Diffstat (limited to 'tests/template')
-rw-r--r-- | tests/template/template_inheritance_test.php | 2 | ||||
-rw-r--r-- | tests/template/template_locate_test.php | 2 | ||||
-rw-r--r-- | tests/template/template_test.php | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/template/template_inheritance_test.php b/tests/template/template_inheritance_test.php index 7348da9a4a..a76658701a 100644 --- a/tests/template/template_inheritance_test.php +++ b/tests/template/template_inheritance_test.php @@ -14,7 +14,7 @@ class phpbb_template_template_inheritance_test extends phpbb_template_template_t /** * @todo put test data into templates/xyz.test */ - public static function template_data() + public function template_data() { return array( // First element of the array is test name - keep them distinct diff --git a/tests/template/template_locate_test.php b/tests/template/template_locate_test.php index 591a6afe0c..8edbd6a008 100644 --- a/tests/template/template_locate_test.php +++ b/tests/template/template_locate_test.php @@ -11,7 +11,7 @@ require_once dirname(__FILE__) . '/template_test_case.php'; class phpbb_template_template_locate_test extends phpbb_template_template_test_case { - public static function template_data() + public function template_data() { return array( // First element of the array is test name - keep them distinct diff --git a/tests/template/template_test.php b/tests/template/template_test.php index edf621e16c..739bbe9387 100644 --- a/tests/template/template_test.php +++ b/tests/template/template_test.php @@ -15,7 +15,7 @@ class phpbb_template_template_test extends phpbb_template_template_test_case /** * @todo put test data into templates/xyz.test */ - public static function template_data() + public function template_data() { return array( /* @@ -394,7 +394,7 @@ class phpbb_template_template_test extends phpbb_template_template_test_case $this->run_template('php.html', array(), array(), array(), 'test', $cache_file); } - public static function alter_block_array_data() + public function alter_block_array_data() { return array( array( |