aboutsummaryrefslogtreecommitdiffstats
path: root/tests/group_positions/group_positions_test.php
diff options
context:
space:
mode:
authorVjacheslav Trushkin <arty@phpbb.com>2012-04-01 19:14:53 +0300
committerVjacheslav Trushkin <arty@phpbb.com>2012-04-01 19:14:53 +0300
commitf5bac7686b1678dbd33eddd368d845237bb18943 (patch)
treea3fde09ac4f49b8aa117ae34e6b6bc160c2e2f0b /tests/group_positions/group_positions_test.php
parent2509853ca530b3b5e0d5b2e10080eeba5a29d937 (diff)
downloadforums-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/group_positions/group_positions_test.php')
-rw-r--r--tests/group_positions/group_positions_test.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/group_positions/group_positions_test.php b/tests/group_positions/group_positions_test.php
index fd9f57e78f..c17e25511b 100644
--- a/tests/group_positions/group_positions_test.php
+++ b/tests/group_positions/group_positions_test.php
@@ -15,7 +15,7 @@ class phpbb_group_positions_test extends phpbb_database_test_case
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/group_positions.xml');
}
- public static function get_group_value_data()
+ public function get_group_value_data()
{
return array(
array('teampage', 1, 0),
@@ -38,7 +38,7 @@ class phpbb_group_positions_test extends phpbb_database_test_case
$this->assertEquals($expected, $test_class->get_group_value($group_id));
}
- public static function get_group_count_data()
+ public function get_group_count_data()
{
return array(
array('teampage', 2),
@@ -59,7 +59,7 @@ class phpbb_group_positions_test extends phpbb_database_test_case
$this->assertEquals($expected, $test_class->get_group_count());
}
- public static function add_group_data()
+ public function add_group_data()
{
return array(
array('teampage', 1, array(
@@ -93,7 +93,7 @@ class phpbb_group_positions_test extends phpbb_database_test_case
$this->assertEquals($expected, $db->sql_fetchrowset($result));
}
- public static function delete_group_data()
+ public function delete_group_data()
{
return array(
array('teampage', 1, false, array(
@@ -147,7 +147,7 @@ class phpbb_group_positions_test extends phpbb_database_test_case
$this->assertEquals($expected, $db->sql_fetchrowset($result));
}
- public static function move_up_data()
+ public function move_up_data()
{
return array(
array('teampage', 1, array(
@@ -186,7 +186,7 @@ class phpbb_group_positions_test extends phpbb_database_test_case
$this->assertEquals($expected, $db->sql_fetchrowset($result));
}
- public static function move_down_data()
+ public function move_down_data()
{
return array(
array('teampage', 1, array(
@@ -225,7 +225,7 @@ class phpbb_group_positions_test extends phpbb_database_test_case
$this->assertEquals($expected, $db->sql_fetchrowset($result));
}
- public static function move_data()
+ public function move_data()
{
return array(
array('teampage', 1, 1, array(