Code Duplication    Length = 6-6 lines in 2 locations

tests/phpunit/tests/query/conditionals.php 2 locations

@@ 78-83 (lines=6) @@
75
        $this->assertQueryTrue('is_single', 'is_singular');
76
    }
77
78
    function test_post_comments_feed() 
79
    {
80
        $post_id = self::factory()->post->create(array( 'post_title' => 'hello-world' ));
81
        self::factory()->comment->create_post_comments($post_id, 2);
82
        $this->go_to(get_post_comments_feed_link($post_id));
83
        $this->assertQueryTrue('is_feed', 'is_single', 'is_singular', 'is_comment_feed');
84
    }
85
86
@@ 94-99 (lines=6) @@
91
        $this->assertQueryTrue('is_feed', 'is_single', 'is_singular', 'is_comment_feed');
92
    }
93
94
    function test_attachment_comments_feed() 
95
    {
96
        $attachment_id = self::factory()->post->create(array( 'post_type' => 'attachment' ));
97
        self::factory()->comment->create_post_comments($attachment_id, 2);
98
        $this->go_to(get_post_comments_feed_link($attachment_id));
99
        $this->assertQueryTrue('is_feed', 'is_attachment', 'is_single', 'is_singular', 'is_comment_feed');
100
    }
101
102
    function test_page()