Skip to content

Commit

Permalink
fix remaining "function data_" manually
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jan 17, 2024
1 parent 7999155 commit ba70a76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/Framework/Html2text.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public function test_links_inline()
/**
* Test <a> links handling when not using link list (#5795)
*
* @dataProvider data_links_no_list
* @dataProvider provide_links_no_list_cases
*/
public function test_links_no_list($input, $output)
{
Expand All @@ -245,7 +245,7 @@ public function test_links_no_list($input, $output)
/**
* Test <a> links handling when not using link list (#5795) with backward compatibility boolean flag
*
* @dataProvider data_links_no_list
* @dataProvider provide_links_no_list_cases
*/
public function test_links_no_list_bc_with_boolean($input, $output)
{
Expand All @@ -255,7 +255,7 @@ public function test_links_no_list_bc_with_boolean($input, $output)
$this->assertSame($output, $res, 'Links handling');
}

public function data_links_no_list(): iterable
public function provide_links_no_list_cases(): iterable
{
return [
[
Expand Down
6 changes: 3 additions & 3 deletions tests/Framework/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ public function test_random_bytes()
/**
* Test-Cases for IDN to ASCII and IDN to UTF-8
*/
public function data_idn_convert(): iterable
public function provide_idn_convert_cases(): iterable
{
/*
* Check https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Internationalized_brand_top-level_domains
Expand Down Expand Up @@ -778,7 +778,7 @@ public function data_idn_convert(): iterable
* @param string $decoded Decoded email address
* @param string $encoded Encoded email address
*
* @dataProvider data_idn_convert
* @dataProvider provide_idn_convert_cases
*/
public function test_idn_to_ascii($decoded, $encoded)
{
Expand All @@ -791,7 +791,7 @@ public function test_idn_to_ascii($decoded, $encoded)
* @param string $decoded Decoded email address
* @param string $encoded Encoded email address
*
* @dataProvider data_idn_convert
* @dataProvider provide_idn_convert_cases
*/
public function test_idn_to_utf8($decoded, $encoded)
{
Expand Down

0 comments on commit ba70a76

Please sign in to comment.