Make WordPress Core

Changeset 1285 in tests


Ignore:
Timestamp:
05/16/2013 12:54:40 PM (13 years ago)
Author:
ryan
Message:

Remove accidental bits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/post/output.php

    r1284 r1285  
    171171        kses_remove_filters();
    172172    }
    173 
    174     function test_the_content_with_id() {
    175         $post_content = <<<EOF
    176 <i>This is the excerpt.</i>
    177 <!--more-->
    178 This is the <b>body</b>.
    179 EOF;
    180 
    181         $post_id = $this->factory->post->create( compact( 'post_content' ) );
    182 
    183         $expected = <<<EOF
    184 <p><i>This is the excerpt.</i><br />
    185 <span id="more-{$post_id}"></span><br />
    186 This is the <b>body</b>.</p>
    187 EOF;
    188 
    189         $this->assertEquals( strip_ws( $expected ), strip_ws( get_echo( 'the_content', array( null, false, $post_id ) ) ) );
    190     }
    191173}
Note: See TracChangeset for help on using the changeset viewer.