Changeset 43571 for trunk/tests/phpunit/tests/term.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term.php
r42343 r43571 17 17 public function test_wp_delete_term_should_invalidate_cache_for_child_terms() { 18 18 register_taxonomy( 19 'wptests_tax', 'post', array( 19 'wptests_tax', 20 'post', 21 array( 20 22 'hierarchical' => true, 21 23 ) … … 195 197 private function assertPostHasTerms( $post_id, $expected_term_ids, $taxonomy ) { 196 198 $assigned_term_ids = wp_get_object_terms( 197 $post_id, $taxonomy, array( 199 $post_id, 200 $taxonomy, 201 array( 198 202 'fields' => 'ids', 199 203 )
Note: See TracChangeset
for help on using the changeset viewer.