Make WordPress Core


Ignore:
Timestamp:
02/08/2021 08:56:35 PM (6 years ago)
Author:
desrosj
Message:

Build/Test Tools: Backport the local Docker environment to the 4.0 branch.

This commit introduces the Docker-based local WordPress development environment to the 4.0 branch.

Merges [44176,45445,45745,45762,45783-45784,45800,45819,45885,46320,46999,47225,47912,48121,49267,49335,49358,49360,49362] to the 4.0 branch.
See #48301, #47767.

Location:
branches/4.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.0

  • branches/4.0/tests/phpunit/tests/image/editor_imagick.php

    r29120 r50248  
    470470                $editor->save( $save_to_file );
    471471
    472                 $this->assertImageAlphaAtPoint( $save_to_file, array( 0,0 ), 127 );
     472                $im = new Imagick( $save_to_file );
     473                $pixel = $im->getImagePixelColor( 0, 0 );
     474                $expected = $pixel->getColorValue( imagick::COLOR_ALPHA );
     475
     476                $this->assertImageAlphaAtPointImagick( $save_to_file, array( 0,0 ), $expected );
    473477
    474478                unlink( $save_to_file );
     
    490494                $editor->save( $save_to_file );
    491495
    492                 $this->assertImageAlphaAtPoint( $save_to_file, array( 0,0 ), 127 );
     496                $im = new Imagick( $save_to_file );
     497                $pixel = $im->getImagePixelColor( 0, 0 );
     498                $expected = $pixel->getColorValue( imagick::COLOR_ALPHA );
     499
     500                $this->assertImageAlphaAtPointImagick( $save_to_file, array( 0,0 ), $expected );
    493501
    494502                unlink( $save_to_file );
Note: See TracChangeset for help on using the changeset viewer.