There are currently 10 unit tests for Modern Image Formats which are failing on trunk:
There were 10 failures:
1) Test_WebP_Uploads_Image_Edit::test_it_should_restore_the_sources_array_from_the_backup_when_an_image_is_edited
Failed asserting that an image doesn't have the source with the "image/jpeg" mime type.
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/data/class-testcase.php:48
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/test-image-edit.php:80
2) Test_WebP_Uploads_Load::test_it_should_not_create_the_original_mime_type_for_jpeg_images with data set "webp" ('webp')
Failed asserting that an image doesn't have the source with the "image/jpeg" mime type.
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/data/class-testcase.php:48
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/test-load.php:58
3) Test_WebP_Uploads_Load::test_it_should_not_create_the_original_mime_type_for_jpeg_images with data set "avif" ('avif')
Failed asserting that an image doesn't have the source with the "image/jpeg" mime type.
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/data/class-testcase.php:48
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/test-load.php:58
4) Test_WebP_Uploads_Load::test_it_should_create_a_webp_version_with_all_the_required_properties
Failed asserting that an image doesn't have the source with the "image/jpeg" mime type.
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/data/class-testcase.php:48
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/test-load.php:266
5) Test_WebP_Uploads_Load::test_it_should_create_the_full_size_images_when_no_size_is_available
Failed asserting that an image doesn't have the source with the "image/jpeg" mime type.
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/data/class-testcase.php:48
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/test-load.php:288
6) Test_WebP_Uploads_Load::test_it_should_remove_the_generated_webp_images_when_the_attachment_is_deleted
Failed asserting that file "/var/www/html/wp-content/uploads/2024/11/leaves-61-1080x720-webp.webp" does not exist.
/var/www/html/wp-content/plugins/performance/vendor/yoast/phpunit-polyfills/src/Polyfills/AssertionRenames.php:113
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/test-load.php:347
7) Test_WebP_Uploads_Load::test_it_should_remove_the_attached_webp_version_if_the_attachment_is_force_deleted
Failed asserting that file "/var/www/html/wp-content/uploads/2024/11/leaves-61-1080x720-webp.webp" does not exist.
/var/www/html/wp-content/plugins/performance/vendor/yoast/phpunit-polyfills/src/Polyfills/AssertionRenames.php:113
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/test-load.php:372
8) Test_WebP_Uploads_Load::test_it_should_remove_full_size_images_when_no_size_image_exists
Failed asserting that file "/var/www/html/wp-content/uploads/2024/11/leaves-61-1080x720-webp.webp" does not exist.
/var/www/html/wp-content/plugins/performance/vendor/yoast/phpunit-polyfills/src/Polyfills/AssertionRenames.php:113
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/test-load.php:395
9) Test_WebP_Uploads_Load::test_it_should_allow_the_upload_of_a_webp_image_if_at_least_one_editor_supports_the_format with data set "webp" ('webp')
Failed asserting that an image doesn't have the source with the "image/jpeg" mime type.
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/data/class-testcase.php:48
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/test-load.php:709
10) Test_WebP_Uploads_Load::test_it_should_allow_the_upload_of_a_webp_image_if_at_least_one_editor_supports_the_format with data set "avif" ('avif')
Failed asserting that an image doesn't have the source with the "image/jpeg" mime type.
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/data/class-testcase.php:48
/var/www/html/wp-content/plugins/performance/plugins/webp-uploads/tests/test-load.php:709
These tests aren't failing on 6.7-branch, so something has been committed to trunk (6.8-alpha) that is causing this failure.
There are currently 10 unit tests for Modern Image Formats which are failing on
trunk:There were 10 failures:
These tests aren't failing on
6.7-branch, so something has been committed totrunk(6.8-alpha) that is causing this failure.