aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShitiz Garg <mail@dragooon.net>2014-06-18 01:11:21 +0530
committerShitiz Garg <mail@dragooon.net>2014-06-18 01:11:21 +0530
commitc15ab1e87e93ab1b345b30cd8f1cc181b19aa4aa (patch)
treecb95f72601509fb31e18a01370fbddf3223c1a4f
parent80d9e4b2e319b8a1b93c876e5304a6ed7b50b1d8 (diff)
downloadforums-c15ab1e87e93ab1b345b30cd8f1cc181b19aa4aa.tar
forums-c15ab1e87e93ab1b345b30cd8f1cc181b19aa4aa.tar.gz
forums-c15ab1e87e93ab1b345b30cd8f1cc181b19aa4aa.tar.bz2
forums-c15ab1e87e93ab1b345b30cd8f1cc181b19aa4aa.tar.xz
forums-c15ab1e87e93ab1b345b30cd8f1cc181b19aa4aa.zip
[ticket/12514] Remove get_ prefix from data providers
PHPBB3-12514
-rw-r--r--tests/profilefields/type_bool_test.php8
-rw-r--r--tests/profilefields/type_date_test.php8
-rw-r--r--tests/profilefields/type_dropdown_test.php8
-rw-r--r--tests/profilefields/type_int_test.php8
-rw-r--r--tests/profilefields/type_string_test.php8
-rw-r--r--tests/profilefields/type_url_test.php4
6 files changed, 22 insertions, 22 deletions
diff --git a/tests/profilefields/type_bool_test.php b/tests/profilefields/type_bool_test.php
index 1773718a38..c86abba195 100644
--- a/tests/profilefields/type_bool_test.php
+++ b/tests/profilefields/type_bool_test.php
@@ -65,7 +65,7 @@ class phpbb_profilefield_type_bool_test extends phpbb_test_case
);
}
- public function get_validate_profile_field_data()
+ public function validate_profile_field_data()
{
return array(
array(
@@ -78,7 +78,7 @@ class phpbb_profilefield_type_bool_test extends phpbb_test_case
}
/**
- * @dataProvider get_validate_profile_field_data
+ * @dataProvider validate_profile_field_data
*/
public function test_validate_profile_field($value, $field_options, $expected, $description)
{
@@ -89,7 +89,7 @@ class phpbb_profilefield_type_bool_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
- public function get_profile_value_data()
+ public function profile_value_data()
{
return array(
array(
@@ -114,7 +114,7 @@ class phpbb_profilefield_type_bool_test extends phpbb_test_case
}
/**
- * @dataProvider get_profile_value_data
+ * @dataProvider profile_value_data
*/
public function test_get_profile_value($value, $field_options, $expected, $description)
{
diff --git a/tests/profilefields/type_date_test.php b/tests/profilefields/type_date_test.php
index fb3759ef5e..f694197008 100644
--- a/tests/profilefields/type_date_test.php
+++ b/tests/profilefields/type_date_test.php
@@ -54,7 +54,7 @@ class phpbb_profilefield_type_date_test extends phpbb_test_case
);
}
- public function get_profile_value_data()
+ public function profile_value_data()
{
return array(
array(
@@ -79,7 +79,7 @@ class phpbb_profilefield_type_date_test extends phpbb_test_case
}
/**
- * @dataProvider get_profile_value_data
+ * @dataProvider profile_value_data
*/
public function test_get_profile_value($value, $field_options, $expected, $description)
{
@@ -90,7 +90,7 @@ class phpbb_profilefield_type_date_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
- public function get_validate_profile_field_data()
+ public function validate_profile_field_data()
{
return array(
array(
@@ -127,7 +127,7 @@ class phpbb_profilefield_type_date_test extends phpbb_test_case
}
/**
- * @dataProvider get_validate_profile_field_data
+ * @dataProvider validate_profile_field_data
*/
public function test_validate_profile_field($value, $field_options, $expected, $description)
{
diff --git a/tests/profilefields/type_dropdown_test.php b/tests/profilefields/type_dropdown_test.php
index 4bfd0443fd..80b1aa25b1 100644
--- a/tests/profilefields/type_dropdown_test.php
+++ b/tests/profilefields/type_dropdown_test.php
@@ -68,7 +68,7 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
);
}
- public function get_validate_profile_field_data()
+ public function validate_profile_field_data()
{
return array(
array(
@@ -99,7 +99,7 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
}
/**
- * @dataProvider get_validate_profile_field_data
+ * @dataProvider validate_profile_field_data
*/
public function test_validate_profile_field($value, $field_options, $expected, $description)
{
@@ -110,7 +110,7 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
- public function get_profile_value_data()
+ public function profile_value_data()
{
return array(
array(
@@ -142,7 +142,7 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
/**
- * @dataProvider get_profile_value_data
+ * @dataProvider profile_value_data
*/
public function test_get_profile_value($value, $field_options, $expected, $description)
{
diff --git a/tests/profilefields/type_int_test.php b/tests/profilefields/type_int_test.php
index 7189a4dda2..4c5b4f121b 100644
--- a/tests/profilefields/type_int_test.php
+++ b/tests/profilefields/type_int_test.php
@@ -43,7 +43,7 @@ class phpbb_profilefield_type_int_test extends phpbb_test_case
);
}
- public function get_profile_value_data()
+ public function profile_value_data()
{
return array(
array(
@@ -99,7 +99,7 @@ class phpbb_profilefield_type_int_test extends phpbb_test_case
}
/**
- * @dataProvider get_profile_value_data
+ * @dataProvider profile_value_data
*/
public function test_get_profile_value($value, $field_options, $expected, $description)
{
@@ -110,7 +110,7 @@ class phpbb_profilefield_type_int_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
- public function get_validate_profile_field_data()
+ public function validate_profile_field_data()
{
return array(
array(
@@ -135,7 +135,7 @@ class phpbb_profilefield_type_int_test extends phpbb_test_case
}
/**
- * @dataProvider get_validate_profile_field_data
+ * @dataProvider validate_profile_field_data
*/
public function test_validate_profile_field($value, $field_options, $expected, $description)
{
diff --git a/tests/profilefields/type_string_test.php b/tests/profilefields/type_string_test.php
index 17adf1f5f4..38bd771ac2 100644
--- a/tests/profilefields/type_string_test.php
+++ b/tests/profilefields/type_string_test.php
@@ -51,7 +51,7 @@ class phpbb_profilefield_type_string_test extends phpbb_test_case
);
}
- public function get_validate_profile_field_data()
+ public function validate_profile_field_data()
{
return array(
array(
@@ -142,7 +142,7 @@ class phpbb_profilefield_type_string_test extends phpbb_test_case
}
/**
- * @dataProvider get_validate_profile_field_data
+ * @dataProvider validate_profile_field_data
*/
public function test_validate_profile_field($value, $field_options, $expected, $description)
{
@@ -153,7 +153,7 @@ class phpbb_profilefield_type_string_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
- public function get_profile_value_data()
+ public function profile_value_data()
{
return array(
array(
@@ -185,7 +185,7 @@ class phpbb_profilefield_type_string_test extends phpbb_test_case
/**
- * @dataProvider get_profile_value_data
+ * @dataProvider profile_value_data
*/
public function test_get_profile_value($value, $field_options, $expected, $description)
{
diff --git a/tests/profilefields/type_url_test.php b/tests/profilefields/type_url_test.php
index d53566effc..831e678595 100644
--- a/tests/profilefields/type_url_test.php
+++ b/tests/profilefields/type_url_test.php
@@ -45,7 +45,7 @@ class phpbb_profilefield_type_url_test extends phpbb_test_case
);
}
- public function get_validate_profile_field_data()
+ public function validate_profile_field_data()
{
return array(
array(
@@ -88,7 +88,7 @@ class phpbb_profilefield_type_url_test extends phpbb_test_case
}
/**
- * @dataProvider get_validate_profile_field_data
+ * @dataProvider validate_profile_field_data
*/
public function test_validate_profile_field($value, $field_options, $expected, $description)
{