Changeset 47489 for branches/4.4
- Timestamp:
- 03/22/2020 02:29:03 PM (5 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/tests/phpunit/tests/term.php
r37643 r47489 484 484 } 485 485 486 private function assertPostHasTerms( $post_id, $expected_term_ids, $taxonomy ) {487 $assigned_term_ids = wp_get_object_terms( $post_id, $taxonomy, array(488 'fields' => 'ids'489 ) );490 491 $this->assertEquals( $expected_term_ids, $assigned_term_ids );492 }493 494 486 /** 495 487 * @ticket 22560
Note: See TracChangeset
for help on using the changeset viewer.