Changeset 47489 for branches/4.7
- Timestamp:
- 03/22/2020 02:29:03 PM (5 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/tests/phpunit/tests/term.php
r38398 r47489 185 185 } 186 186 187 private function assertPostHasTerms( $post_id, $expected_term_ids, $taxonomy ) {188 $assigned_term_ids = wp_get_object_terms( $post_id, $taxonomy, array(189 'fields' => 'ids'190 ) );191 192 $this->assertEquals( $expected_term_ids, $assigned_term_ids );193 }194 195 187 /** 196 188 * @ticket 19205
Note: See TracChangeset
for help on using the changeset viewer.