Changeset 42837 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 03/16/2018 08:06:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r42743 r42837 133 133 134 134 if ( current_theme_supports( 'html5', 'caption' ) ) { 135 $this->assertEquals( 1, preg_match_all( '/ max-width: 20/', $result, $_r ) );135 $this->assertEquals( 1, preg_match_all( '/width: 20/', $result, $_r ) ); 136 136 } else { 137 $this->assertEquals( 1, preg_match_all( '/ max-width: 30/', $result, $_r ) );137 $this->assertEquals( 1, preg_match_all( '/width: 30/', $result, $_r ) ); 138 138 } 139 139 }
Note: See TracChangeset
for help on using the changeset viewer.