Code Duplication    Length = 4-4 lines in 2 locations

tests/phpunit/tests/feed/atom.php 1 location

@@ 198-201 (lines=4) @@
195
            unset($terms);
196
197
            // Content
198
            if (! $this->excerpt_only ) {
199
                $content = xml_find($entries[$key]['child'], 'content');
200
                $this->assertEquals(trim(apply_filters('the_content', $post->post_content)), trim($content[0]['content']));
201
            }
202
203
            // Link rel="replies"
204
            $link_replies = xml_find($entries[$key]['child'], 'link');

tests/phpunit/tests/feed/rss2.php 1 location

@@ 232-235 (lines=4) @@
229
            }
230
231
            // Post content
232
            if (! $this->excerpt_only ) {
233
                $content = xml_find($items[$key]['child'], 'content:encoded');
234
                $this->assertEquals(trim(apply_filters('the_content', $post->post_content)), trim($content[0]['content']));
235
            }
236
237
            // Comment rss
238
            $comment_rss = xml_find($items[$key]['child'], 'wfw:commentRss');