Changeset 36138 for trunk/tests/phpunit/tests/query/conditionals.php
- Timestamp:
- 12/31/2015 05:15:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query/conditionals.php
r35679 r36138 56 56 $this->go_to( get_post_comments_feed_link( $post_id ) ); 57 57 $this->assertQueryTrue('is_feed', 'is_single', 'is_singular', 'is_comment_feed'); 58 } 59 60 function test_attachment_comments_feed() { 61 $attachment_id = self::factory()->post->create( array( 'post_type' => 'attachment' ) ); 62 self::factory()->comment->create_post_comments( $attachment_id, 2 ); 63 $this->go_to( get_post_comments_feed_link( $attachment_id ) ); 64 $this->assertQueryTrue( 'is_feed', 'is_attachment', 'is_single', 'is_singular', 'is_comment_feed' ); 58 65 } 59 66
Note: See TracChangeset
for help on using the changeset viewer.