Make WordPress Core


Ignore:
Timestamp:
09/15/2025 07:22:09 PM (14 months ago)
Author:
desrosj
Message:

Build/Test Tools: Fix tooling and PHPUnit test issues.

This fixes the PHPUnit test suite for the 6.6 branch by:

  • Fixing issues with the env:install script when using newer PHP images.
  • Temporarily disables failing tests with ImageMagick 7 is in use.

Backports [60735] and [60736] to the 6.6 branch.

See #63876, #63932.

Location:
branches/6.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.6

  • branches/6.6/tests/phpunit/tests/media.php

    r58862 r60746  
    53115311                // Sub-sizes: for each size, the JPEGs should be smaller than the WebP.
    53125312                $sizes_to_compare = array_intersect_key( $jpeg_sizes['sizes'], $webp_sizes['sizes'] );
     5313
     5314                $this->assertNotWPError( $sizes_to_compare );
     5315
    53135316                foreach ( $sizes_to_compare as $size => $size_data ) {
    53145317                        $this->assertLessThan( $webp_sizes['sizes'][ $size ]['filesize'], $jpeg_sizes['sizes'][ $size ]['filesize'] );
Note: See TracChangeset for help on using the changeset viewer.