Changeset 36279
- Timestamp:
- 01/13/2016 04:42:59 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/query.php
r36277 r36279 815 815 $comments = get_comments( array( 816 816 'author_url' => 'http://foo.bar', 817 ) ); 818 819 $this->assertCount( 2, $comments ); 820 $this->assertSame( $c1, (int) $comments[0]->comment_ID ); 821 $this->assertSame( $c2, (int) $comments[1]->comment_ID ); 817 'fields' => 'ids', 818 ) ); 819 820 $this->assertEqualSets( array( $c1, $c2 ), $comments ); 822 821 } 823 822
Note: See TracChangeset
for help on using the changeset viewer.