Ticket #36934: 36934.test.2.patch
File 36934.test.2.patch, 490 bytes (added by , 9 years ago) |
---|
-
tests/phpunit/tests/formatting/WpTrimExcerpt.php
26 26 while ( $q->have_posts() ) { 27 27 $q->the_post(); 28 28 $this->assertSame( 'Post 2 Page 1', wp_trim_excerpt() ); 29 $this->assertSame( 'Post 1 Page 1', wp_trim_excerpt( '', $post1 ) ); 29 30 } 30 31 } 31 32 }