Changeset 55562 for trunk/tests/phpunit/tests/functions.php
- Timestamp:
- 03/19/2023 12:03:30 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions.php
r55464 r55562 1768 1768 * 1769 1769 * @ticket 42016 1770 * @dataProvider data_ test_validate_file1770 * @dataProvider data_validate_file 1771 1771 * 1772 1772 * @param string $file File path. … … 1789 1789 * } 1790 1790 */ 1791 public function data_ test_validate_file() {1791 public function data_validate_file() { 1792 1792 return array( 1793 1793 … … 1911 1911 * Test stream URL validation. 1912 1912 * 1913 * @dataProvider data_ test_wp_is_stream1913 * @dataProvider data_wp_is_stream 1914 1914 * 1915 1915 * @param string $path The resource path or URL. … … 1934 1934 * } 1935 1935 */ 1936 public function data_ test_wp_is_stream() {1936 public function data_wp_is_stream() { 1937 1937 return array( 1938 1938 // Legitimate stream examples. … … 1955 1955 * 1956 1956 * @ticket 39667 1957 * @dataProvider data_ test_human_readable_duration1957 * @dataProvider data_human_readable_duration 1958 1958 * 1959 1959 * @param string $input Duration. … … 1974 1974 * } 1975 1975 */ 1976 public function data_ test_human_readable_duration() {1976 public function data_human_readable_duration() { 1977 1977 return array( 1978 1978 // Valid ii:ss cases. … … 2031 2031 /** 2032 2032 * @ticket 49404 2033 * @dataProvider data_ test_wp_is_json_media_type2033 * @dataProvider data_wp_is_json_media_type 2034 2034 */ 2035 2035 public function test_wp_is_json_media_type( $input, $expected ) { … … 2038 2038 2039 2039 2040 public function data_ test_wp_is_json_media_type() {2040 public function data_wp_is_json_media_type() { 2041 2041 return array( 2042 2042 array( 'application/ld+json', true ),
Note: See TracChangeset
for help on using the changeset viewer.