Changeset 53795 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 07/29/2022 02:33:15 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r53790 r53795 214 214 $content_preg = preg_quote( self::HTML_CONTENT ); 215 215 216 $this->assertSame( 1, preg_match_all( "~{$img_preg}.*wp-caption-text~", $result , $_r) );217 $this->assertSame( 1, preg_match_all( "~wp-caption-text.*{$content_preg}~", $result , $_r) );216 $this->assertSame( 1, preg_match_all( "~{$img_preg}.*wp-caption-text~", $result ) ); 217 $this->assertSame( 1, preg_match_all( "~wp-caption-text.*{$content_preg}~", $result ) ); 218 218 } 219 219 … … 227 227 $content_preg = preg_quote( self::HTML_CONTENT ); 228 228 229 $this->assertSame( 1, preg_match_all( "~{$img_preg}.*wp-caption-text~", $result , $_r) );230 $this->assertSame( 1, preg_match_all( "~wp-caption-text.*{$content_preg}~", $result , $_r) );229 $this->assertSame( 1, preg_match_all( "~{$img_preg}.*wp-caption-text~", $result ) ); 230 $this->assertSame( 1, preg_match_all( "~wp-caption-text.*{$content_preg}~", $result ) ); 231 231 } 232 232 … … 240 240 $content_preg = preg_quote( self::HTML_CONTENT ); 241 241 242 $this->assertSame( 1, preg_match_all( "~{$img_preg}.*wp-caption-text~", $result , $_r) );243 $this->assertSame( 1, preg_match_all( "~wp-caption-text.*{$content_preg}~", $result , $_r) );242 $this->assertSame( 1, preg_match_all( "~{$img_preg}.*wp-caption-text~", $result ) ); 243 $this->assertSame( 1, preg_match_all( "~wp-caption-text.*{$content_preg}~", $result ) ); 244 244 } 245 245
Note: See TracChangeset
for help on using the changeset viewer.