WordPress.org

Make WordPress Core

Ticket #42447: 42447.1.diff

File 42447.1.diff, 670 bytes (added by danielbachhuber, 23 months ago)
  • tests/phpunit/tests/image/editorImagick.php

    diff --git a/tests/phpunit/tests/image/editorImagick.php b/tests/phpunit/tests/image/editorImagick.php
    index e113b77937..6aa0dddbf7 100644
    a b class Tests_Image_Editor_Imagick extends WP_Image_UnitTestCase { 
    549549         * @ticket 37140
    550550         */
    551551        public function test_remove_orientation_data_on_rotate() {
     552
     553                if ( ! function_exists( 'exif_read_data' ) ) {
     554                        $this->markTestSkipped( 'This system is missing required exif_read_data function.' );
     555                }
     556
    552557                $file = DIR_TESTDATA . "/images/test-image-upside-down.jpg";
    553558                $data = wp_read_image_metadata( $file );
    554559