Changeset 52010 for trunk/tests/phpunit/tests/term/wpGenerateTagCloud.php
- Timestamp:
- 11/04/2021 03:22:47 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpGenerateTagCloud.php
r51968 r52010 27 27 * @param $args Options for `wp_generate_tag_cloud()`. 28 28 */ 29 function test_empty_tags_list_returned( $expected, $args ) {29 public function test_empty_tags_list_returned( $expected, $args ) { 30 30 $term_ids = self::factory()->term->create_many( 4, array( 'taxonomy' => 'post_tag' ) ); 31 31 $this->terms = array(); … … 42 42 * @return array 43 43 */ 44 function empty_tags_data_provider() {44 public function empty_tags_data_provider() { 45 45 return array( 46 46 // When 'format' => 'array', we should be getting an empty array back. … … 66 66 } 67 67 68 function test_hide_empty_false() {68 public function test_hide_empty_false() { 69 69 $term_id = self::factory()->tag->create(); 70 70 $term = get_term( $term_id, 'post_tag' ); … … 87 87 } 88 88 89 function test_hide_empty_false_format_array() {89 public function test_hide_empty_false_format_array() { 90 90 $term_id = self::factory()->tag->create(); 91 91 $term = get_term( $term_id, 'post_tag' ); … … 111 111 } 112 112 113 function test_hide_empty_false_format_list() {113 public function test_hide_empty_false_format_list() { 114 114 $term_id = self::factory()->tag->create(); 115 115 $term = get_term( $term_id, 'post_tag' ); … … 135 135 } 136 136 137 function test_hide_empty_false_multi() {137 public function test_hide_empty_false_multi() { 138 138 $term_ids = self::factory()->tag->create_many( 4 ); 139 139 $terms = array(); … … 162 162 } 163 163 164 function test_hide_empty_false_multi_format_list() {164 public function test_hide_empty_false_multi_format_list() { 165 165 $term_ids = self::factory()->tag->create_many( 4 ); 166 166 $terms = array();
Note: See TracChangeset
for help on using the changeset viewer.