From c15ab1e87e93ab1b345b30cd8f1cc181b19aa4aa Mon Sep 17 00:00:00 2001 From: Shitiz Garg Date: Wed, 18 Jun 2014 01:11:21 +0530 Subject: [ticket/12514] Remove get_ prefix from data providers PHPBB3-12514 --- tests/profilefields/type_bool_test.php | 8 ++++---- tests/profilefields/type_date_test.php | 8 ++++---- tests/profilefields/type_dropdown_test.php | 8 ++++---- tests/profilefields/type_int_test.php | 8 ++++---- tests/profilefields/type_string_test.php | 8 ++++---- tests/profilefields/type_url_test.php | 4 ++-- 6 files changed, 22 insertions(+), 22 deletions(-) (limited to 'tests') 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) { -- cgit v1.2.1