Changeset 33767 for trunk/tests/phpunit/tests/category/wpListCategories.php
- Timestamp:
- 08/27/2015 02:08:31 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/category/wpListCategories.php
r33764 r33767 213 213 * @ticket 33460 214 214 */ 215 public function test_hide_title_if_ no_cats_should_be_respected_for_empty_lists_when_true() {216 $found = wp_list_categories( array( 217 'echo' => false, 218 'hide_title_if_ no_cats' => true,215 public function test_hide_title_if_empty_should_be_respected_for_empty_lists_when_true() { 216 $found = wp_list_categories( array( 217 'echo' => false, 218 'hide_title_if_empty' => true, 219 219 ) ); 220 220 … … 225 225 * @ticket 33460 226 226 */ 227 public function test_hide_title_if_ no_cats_should_be_respected_for_empty_lists_when_false() {228 $found = wp_list_categories( array( 229 'echo' => false, 230 'hide_title_if_ no_cats' => false,227 public function test_hide_title_if_empty_should_be_respected_for_empty_lists_when_false() { 228 $found = wp_list_categories( array( 229 'echo' => false, 230 'hide_title_if_empty' => false, 231 231 ) ); 232 232 … … 237 237 * @ticket 33460 238 238 */ 239 public function test_hide_title_if_ no_cats_should_be_ignored_when_category_list_is_not_empty() {239 public function test_hide_title_if_empty_should_be_ignored_when_category_list_is_not_empty() { 240 240 $cat = $this->factory->category->create(); 241 241 … … 243 243 'echo' => false, 244 244 'hide_empty' => false, 245 'hide_title_if_ no_cats' => true,245 'hide_title_if_empty' => true, 246 246 ) ); 247 247
Note: See TracChangeset
for help on using the changeset viewer.