Changeset 60736 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 09/13/2025 12:14:39 PM (3 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/media.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r60641 r60736 5461 5461 // Sub-sizes: for each size, the JPEGs should be smaller than the WebP. 5462 5462 $sizes_to_compare = array_intersect_key( $jpeg_sizes['sizes'], $webp_sizes['sizes'] ); 5463 5464 $this->assertNotEmpty( $sizes_to_compare ); 5465 5463 5466 foreach ( $sizes_to_compare as $size => $size_data ) { 5464 5467 $this->assertLessThan( $webp_sizes['sizes'][ $size ]['filesize'], $jpeg_sizes['sizes'][ $size ]['filesize'] ); … … 5470 5473 * 5471 5474 * @ticket 61614 5475 * 5476 * Temporarily disabled until we can figure out why it fails on the Trixie based PHP container. 5477 * See https://core.trac.wordpress.org/ticket/63932. 5478 * @requires PHP < 8.3 5472 5479 */ 5473 5480 public function test_quality_with_avif_conversion_file_sizes() { … … 5503 5510 // Sub-sizes: for each size, the AVIF should be smaller than the JPEG. 5504 5511 $sizes_to_compare = array_intersect_key( $avif_sizes['sizes'], $smaller_avif_sizes['sizes'] ); 5512 5513 $this->assertNotEmpty( $sizes_to_compare ); 5505 5514 5506 5515 foreach ( $sizes_to_compare as $size => $size_data ) {
Note: See TracChangeset
for help on using the changeset viewer.