Changeset 60736 for trunk/tests/phpunit/tests/image/editorImagick.php
- Timestamp:
- 09/13/2025 12:14:39 PM (3 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/image/editorImagick.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/editorImagick.php
r60729 r60736 706 706 * 707 707 * @ticket 62285 708 * 709 * Temporarily disabled until we can figure out why it fails on the Trixie based PHP container. 710 * See https://core.trac.wordpress.org/ticket/63932. 711 * @requires PHP < 8.3 708 712 */ 709 713 public function test_image_max_bit_depth() { … … 780 784 public function test_resizes_are_small_for_16bit_images( $file ) { 781 785 786 // Temporarily disabled. See https://core.trac.wordpress.org/ticket/63932. 787 if ( DIR_TESTDATA . '/images/png-tests/test8.png' === $file ) { 788 $version = Imagick::getVersion(); 789 if ( $version['versionNumber'] >= 0x700 ) { 790 $this->markTestSkipped( 'ImageMagick 7 is unable to optimize grayscale images with 1-bit transparency.' ); 791 } 792 } 793 782 794 $temp_file = DIR_TESTDATA . '/images/test-temp.png'; 783 795 … … 835 847 */ 836 848 public function test_png_color_type_is_preserved_after_resize( $file_path, $expected_color_type ) { 849 850 // Temporarily disabled. See https://core.trac.wordpress.org/ticket/63932. 851 if ( DIR_TESTDATA . '/images/png-tests/test8.png' === $file_path ) { 852 $version = Imagick::getVersion(); 853 if ( $version['versionNumber'] >= 0x700 ) { 854 $this->markTestSkipped( 'ImageMagick 7 is unable to optimize grayscale images with 1-bit transparency.' ); 855 } 856 } 837 857 838 858 $temp_file = DIR_TESTDATA . '/images/test-temp.png';
Note: See TracChangeset
for help on using the changeset viewer.