Changeset 25384 for trunk/tests/phpunit/tests/term/getTerms.php
- Timestamp:
- 09/12/2013 05:08:33 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getTerms.php
r25257 r25384 86 86 $term_id = $this->factory->tag->create(); 87 87 $terms = get_terms( array( '111' => 'post_tag' ), array( 'hide_empty' => false ) ); 88 $this->assertEquals( $term_id, $terms[0]->term_id );88 $this->assertEquals( $term_id, reset( $terms )->term_id ); 89 89 } 90 90
Note: See TracChangeset
for help on using the changeset viewer.