Make WordPress Core

Changeset 407 in tests for wp-testcase/test_post_output.php


Ignore:
Timestamp:
08/04/2011 08:38:26 PM (15 years ago)
Author:
ryan
Message:

Pinking shears

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_post_output.php

    r366 r407  
    9898[paragraph]my graf[/paragraph]
    9999
    100   [paragraph foo="bar"]another graf with whitespace[/paragraph] 
     100  [paragraph foo="bar"]another graf with whitespace[/paragraph]
    101101
    102102An [paragraph]inline graf[/paragraph], this doesn't make much sense.
     
    137137                $wp_rewrite->flush_rules();
    138138        }
    139        
     139
    140140        function test_the_content() {
    141141                // permalink page
     
    144144                // filtered output
    145145                $out = get_echo('the_content');
    146                
     146
    147147                $expected = <<<EOF
    148148<p>There are ten images attached to this post.  Here&#8217;s a gallery:</p>
     
    207207        function test_gallery_attributes() {
    208208                // make sure the gallery shortcode attributes are parsed correctly
    209                
     209
    210210                $id = 575;
    211211                $post = get_post($id);
    212212                $post->post_content = '[gallery columns="1" size="medium"]';
    213213                wp_update_post($post);
    214                
     214
    215215                // permalink page
    216216                $this->http('/2008/04/01/simple-gallery-test/');
Note: See TracChangeset for help on using the changeset viewer.