diff --git a/plugins/webp-uploads/tests/test-avif-support.php b/plugins/webp-uploads/tests/test-avif-support.php new file mode 100644 index 0000000000..f954432652 --- /dev/null +++ b/plugins/webp-uploads/tests/test-avif-support.php @@ -0,0 +1,15 @@ +assertTrue( wp_image_editor_supports( array( 'mime_type' => 'image/avif' ) ), 'Mime type image/avif is not supported.' ); + $this->assertTrue( wp_image_editor_supports( array( 'mime_type' => 'image/webp' ) ), 'Mime type image/webp is not supported.' ); + } +}