File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
plugins/webp-uploads/tests Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -1092,11 +1092,9 @@ public function test_it_should_generate_fallback_images_for_all_sizes_when_gener
1092
1092
* Create the original mime type for WebP images.
1093
1093
*/
1094
1094
public function test_that_it_should_convert_webp_to_avif_on_upload (): void {
1095
- $ mime_type = 'image/avif ' ;
1096
-
1097
- // Ensure the MIME type is supported; skip the test if not.
1098
- if ( ! webp_uploads_mime_type_supported ( $ mime_type ) ) {
1099
- $ this ->markTestSkipped ( 'Mime type ' . $ mime_type . ' is not supported. ' );
1095
+ // Ensure the AVIF MIME type is supported; skip the test if not.
1096
+ if ( ! webp_uploads_mime_type_supported ( 'image/avif ' ) ) {
1097
+ $ this ->markTestSkipped ( 'Mime type image/avif is not supported. ' );
1100
1098
}
1101
1099
1102
1100
$ this ->set_image_output_type ( 'avif ' );
You can’t perform that action at this time.
0 commit comments