Changeset 47122 for trunk/tests/phpunit/tests/ajax/QuickEdit.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/QuickEdit.php
r46586 r47122 2 2 3 3 /** 4 * Admin ajax functions to be tested4 * Admin Ajax functions to be tested. 5 5 */ 6 6 require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' ); … … 76 76 } 77 77 78 // wptests_tax_1terms should have been refused.78 // 'wptests_tax_1' terms should have been refused. 79 79 $post_terms_1 = wp_get_object_terms( $post->ID, 'wptests_tax_1' ); 80 80 $this->assertEmpty( $post_terms_1 ); 81 81 82 // wptests_tax_2terms should have been added successfully.82 // 'wptests_tax_2' terms should have been added successfully. 83 83 $post_terms_2 = wp_get_object_terms( $post->ID, 'wptests_tax_2' ); 84 84 $this->assertEqualSets( array( $t2 ), wp_list_pluck( $post_terms_2, 'term_id' ) );
Note: See TracChangeset
for help on using the changeset viewer.