Make WordPress Core

Ticket #36934: 36934.test3.patch

File 36934.test3.patch, 490 bytes (added by achbed, 8 years ago)

Updated patch to apply against revision 37881

  • tests/phpunit/tests/formatting/WpTrimExcerpt.php

     
    2626                        while ( $q->have_posts() ) {
    2727                                $q->the_post();
    2828                                $this->assertSame( 'Post 2 Page 1', wp_trim_excerpt() );
     29                                $this->assertSame( 'Post 1 Page 1', wp_trim_excerpt( '', $post1 ) );
    2930                        }
    3031                }
    3132        }