Changeset 60744 for branches/6.8/tests/phpunit/tests/media.php
- Timestamp:
- 09/15/2025 07:15:41 PM (9 months ago)
- Location:
- branches/6.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.8
- Property svn:mergeinfo changed
/trunk merged: 60735-60736
- Property svn:mergeinfo changed
-
branches/6.8/tests/phpunit/tests/media.php
r60420 r60744 5436 5436 // Sub-sizes: for each size, the JPEGs should be smaller than the WebP. 5437 5437 $sizes_to_compare = array_intersect_key( $jpeg_sizes['sizes'], $webp_sizes['sizes'] ); 5438 5439 $this->assertNotWPError( $sizes_to_compare ); 5440 5438 5441 foreach ( $sizes_to_compare as $size => $size_data ) { 5439 5442 $this->assertLessThan( $webp_sizes['sizes'][ $size ]['filesize'], $jpeg_sizes['sizes'][ $size ]['filesize'] ); … … 5478 5481 // Sub-sizes: for each size, the AVIF should be smaller than the JPEG. 5479 5482 $sizes_to_compare = array_intersect_key( $avif_sizes['sizes'], $smaller_avif_sizes['sizes'] ); 5483 5484 $this->assertNotWPError( $sizes_to_compare ); 5480 5485 5481 5486 foreach ( $sizes_to_compare as $size => $size_data ) {
Note: See TracChangeset
for help on using the changeset viewer.