Skip to content

Test failed on Tests_Image_Editor_Imagick::test_resizes_are_small_for_16bit_images #237

@RamyAllam

Description

@RamyAllam

Describe the bug
Test is failing

There was 1 failure:

1) Tests_Image_Editor_Imagick::test_resizes_are_small_for_16bit_images with data set "cloudflare-status" ('/tmp/wp-test-runner/tests/php...us.png')
The resized image file size is not smaller than the original file size.
Failed asserting that 26899 is less than 24940.

/tmp/wp-test-runner/tests/phpunit/tests/image/editorImagick.php:787
/tmp/wp-test-runner/vendor/phpunit/phpunit/phpunit:107

FAILURES!
Tests: 24868, Assertions: 89135, Failures: 1, Warnings: 86, Skipped: 15.
Error: Failed to perform operation.

To Reproduce
Steps to reproduce the behavior:

  • Run php test.php
  • Tested on PHP 8.2, and PHP 8.1 with ImageMagick 7 and 6

Expected behavior
Test to pass

Screenshots
Image

Additional context
This probably happened after the WordPress update on: WordPress/wordpress-develop@082f6e6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions