Changeset 47489 for branches/5.2/tests/phpunit/tests/term.php
- Timestamp:
- 03/22/2020 02:29:03 PM (6 years ago)
- Location:
- branches/5.2
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/term.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
-
branches/5.2/tests/phpunit/tests/term.php
r43571 r47489 195 195 } 196 196 197 private function assertPostHasTerms( $post_id, $expected_term_ids, $taxonomy ) {198 $assigned_term_ids = wp_get_object_terms(199 $post_id,200 $taxonomy,201 array(202 'fields' => 'ids',203 )204 );205 206 $this->assertEquals( $expected_term_ids, $assigned_term_ids );207 }208 209 197 /** 210 198 * @ticket 19205
Note: See TracChangeset
for help on using the changeset viewer.