WordPress.org

Make WordPress Core

Changeset 1314 in tests


Ignore:
Timestamp:
07/20/2013 08:57:06 PM (5 years ago)
Author:
ryan
Message:

Remove test_the_content_with_id(). ID supports was removed in [24598]. see #24330

File:
1 edited

Legend:

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

    r1293 r1314  
    172172    }
    173173
    174     function test_the_content_with_id() {
    175         $post_content = <<<EOF
    176 test_the_content_with_id <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>test_the_content_with_id <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     }
    191174}
Note: See TracChangeset for help on using the changeset viewer.