mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-23 08:43:02 +02:00
[ticket/17535] Convert config files, make data providers static
PHPBB-17535
This commit is contained in:
@@ -18,7 +18,7 @@ class phpbb_groupposition_legend_test extends phpbb_database_test_case
|
||||
return $this->createXMLDataSet(__DIR__ . '/fixtures/legend.xml');
|
||||
}
|
||||
|
||||
public function get_group_value_data()
|
||||
public static function get_group_value_data()
|
||||
{
|
||||
return array(
|
||||
array(1, 0, ''),
|
||||
@@ -57,7 +57,7 @@ class phpbb_groupposition_legend_test extends phpbb_database_test_case
|
||||
$this->assertEquals(2, $test_class->get_group_count());
|
||||
}
|
||||
|
||||
public function add_group_data()
|
||||
public static function add_group_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
@@ -101,7 +101,7 @@ class phpbb_groupposition_legend_test extends phpbb_database_test_case
|
||||
$this->assertEquals($expected, $db->sql_fetchrowset($result));
|
||||
}
|
||||
|
||||
public function delete_group_data()
|
||||
public static function delete_group_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
@@ -187,7 +187,7 @@ class phpbb_groupposition_legend_test extends phpbb_database_test_case
|
||||
$this->assertEquals($expected, $db->sql_fetchrowset($result));
|
||||
}
|
||||
|
||||
public function move_up_data()
|
||||
public static function move_up_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
@@ -240,7 +240,7 @@ class phpbb_groupposition_legend_test extends phpbb_database_test_case
|
||||
$this->assertEquals($expected, $db->sql_fetchrowset($result));
|
||||
}
|
||||
|
||||
public function move_down_data()
|
||||
public static function move_down_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
@@ -293,7 +293,7 @@ class phpbb_groupposition_legend_test extends phpbb_database_test_case
|
||||
$this->assertEquals($expected, $db->sql_fetchrowset($result));
|
||||
}
|
||||
|
||||
public function move_data()
|
||||
public static function move_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
|
@@ -18,7 +18,7 @@ class phpbb_groupposition_teampage_test extends phpbb_database_test_case
|
||||
return $this->createXMLDataSet(__DIR__ . '/fixtures/teampage.xml');
|
||||
}
|
||||
|
||||
public function get_group_value_data()
|
||||
public static function get_group_value_data()
|
||||
{
|
||||
return array(
|
||||
array(2, 3, ''),
|
||||
@@ -57,7 +57,7 @@ class phpbb_groupposition_teampage_test extends phpbb_database_test_case
|
||||
$this->assertEquals(8, $test_class->get_group_count());
|
||||
}
|
||||
|
||||
public function add_group_teampage_data()
|
||||
public static function add_group_teampage_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
@@ -145,7 +145,7 @@ class phpbb_groupposition_teampage_test extends phpbb_database_test_case
|
||||
$this->assertEquals($expected, $db->sql_fetchrowset($result));
|
||||
}
|
||||
|
||||
public function add_category_teampage_data()
|
||||
public static function add_category_teampage_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
@@ -186,7 +186,7 @@ class phpbb_groupposition_teampage_test extends phpbb_database_test_case
|
||||
$this->assertEquals($expected, $db->sql_fetchrowset($result));
|
||||
}
|
||||
|
||||
public function delete_group_data()
|
||||
public static function delete_group_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
@@ -251,7 +251,7 @@ class phpbb_groupposition_teampage_test extends phpbb_database_test_case
|
||||
$this->assertEquals($expected, $db->sql_fetchrowset($result));
|
||||
}
|
||||
|
||||
public function delete_teampage_data()
|
||||
public static function delete_teampage_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
@@ -301,7 +301,7 @@ class phpbb_groupposition_teampage_test extends phpbb_database_test_case
|
||||
$this->assertEquals($expected, $db->sql_fetchrowset($result));
|
||||
}
|
||||
|
||||
public function move_data()
|
||||
public static function move_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
@@ -462,7 +462,7 @@ class phpbb_groupposition_teampage_test extends phpbb_database_test_case
|
||||
$this->assertEquals($expected, $db->sql_fetchrowset($result));
|
||||
}
|
||||
|
||||
public function move_teampage_data()
|
||||
public static function move_teampage_data()
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
|
Reference in New Issue
Block a user