Changeset 47489 for branches/4.2/tests/phpunit/tests/term.php
- Timestamp:
- 03/22/2020 02:29:03 PM (6 years ago)
- Location:
- branches/4.2
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/term.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2
-
branches/4.2/tests/phpunit/tests/term.php
r31812 r47489 528 528 } 529 529 530 private function assertPostHasTerms( $post_id, $expected_term_ids, $taxonomy ) {531 $assigned_term_ids = wp_get_object_terms( $post_id, $taxonomy, array(532 'fields' => 'ids'533 ) );534 535 $this->assertEquals( $expected_term_ids, $assigned_term_ids );536 }537 538 530 /** 539 531 * @ticket 22560
Note: See TracChangeset
for help on using the changeset viewer.