Changeset 47489 for branches/4.1/tests/phpunit/tests/term.php
- Timestamp:
- 03/22/2020 02:29:03 PM (11 months ago)
- Location:
- branches/4.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1
-
branches/4.1/tests/phpunit/tests/term.php
r31378 r47489 1601 1601 } 1602 1602 1603 private function assertPostHasTerms( $post_id, $expected_term_ids, $taxonomy ) {1604 $assigned_term_ids = wp_get_object_terms( $post_id, $taxonomy, array(1605 'fields' => 'ids'1606 ) );1607 1608 $this->assertEquals( $expected_term_ids, $assigned_term_ids );1609 }1610 1611 1603 /** 1612 1604 * @ticket 22560
Note: See TracChangeset
for help on using the changeset viewer.