Make WordPress Core


Ignore:
Timestamp:
09/15/2025 08:05:38 PM (4 months ago)
Author:
desrosj
Message:

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

This fixes the PHPUnit test suite for the 6.4 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.4 branch.

See #63876, #63932.

Location:
branches/6.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.4

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

    r57020 r60749  
    52855285        // Sub-sizes: for each size, the JPEGs should be smaller than the WebP.
    52865286        $sizes_to_compare = array_intersect_key( $jpeg_sizes['sizes'], $webp_sizes['sizes'] );
     5287
     5288        $this->assertNotWPError( $sizes_to_compare );
     5289
    52875290        foreach ( $sizes_to_compare as $size => $size_data ) {
    52885291            $this->assertLessThan( $webp_sizes['sizes'][ $size ]['filesize'], $jpeg_sizes['sizes'][ $size ]['filesize'] );
Note: See TracChangeset for help on using the changeset viewer.