Changeset 53561 for trunk/tests/phpunit/tests/ajax/CustomizeMenus.php
- Timestamp:
- 06/23/2022 07:45:24 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/CustomizeMenus.php
r52010 r53561 80 80 * @param string $role The role we're checking caps against. 81 81 * @param array $expected_results Expected results. 82 * 83 * @covers WP_Customize_Nav_Menus::ajax_load_available_items 82 84 */ 83 85 public function test_ajax_load_available_items_cap_check( $role, $expected_results ) { … … 158 160 * @param array $post_args POST args. 159 161 * @param mixed $expected_results Expected results. 162 * 163 * @covers WP_Customize_Nav_Menus::ajax_load_available_items 160 164 */ 161 165 public function test_ajax_load_available_items_error_messages( $post_args, $expected_results ) { … … 268 272 * @param array $post_args POST args. 269 273 * @param array $success_status Success status. 274 * 275 * @covers WP_Customize_Nav_Menus::ajax_load_available_items 270 276 */ 271 277 public function test_ajax_load_available_items_success_status( $post_args, $success_status ) { … … 358 364 * 359 365 * @param array $post_args POST args. 366 * 367 * @covers WP_Customize_Nav_Menus::ajax_load_available_items 360 368 */ 361 369 public function test2_ajax_load_available_items_structure( $post_args ) { … … 467 475 * @param string $role Role. 468 476 * @param array $expected_results Expected results. 477 * 478 * @covers WP_Customize_Nav_Menus::ajax_search_available_items 479 * @covers WP_Customize_Nav_Menus::search_available_items_query 469 480 */ 470 481 public function test_ajax_search_available_items_caps_check( $role, $expected_results ) { … … 546 557 * @param array $post_args POST args. 547 558 * @param array $expected_results Expected results. 559 * 560 * @covers WP_Customize_Nav_Menus::ajax_search_available_items 561 * @covers WP_Customize_Nav_Menus::search_available_items_query 548 562 */ 549 563 public function test_ajax_search_available_items_results( $post_args, $expected_results ) { … … 639 653 * 640 654 * @covers WP_Customize_Nav_Menus::ajax_insert_auto_draft_post 655 * @covers WP_Customize_Nav_Menus::insert_auto_draft_post 641 656 */ 642 657 public function test_ajax_insert_auto_draft_post_success() {
Note: See TracChangeset
for help on using the changeset viewer.