WordPress.org

Make WordPress Core

Ticket #42447: 42447.2.diff

File 42447.2.diff, 611 bytes (added by desrosj, 21 months ago)

Refreshed patch.

  • tests/phpunit/tests/image/editorImagick.php

     
    550550         * @ticket 37140
    551551         */
    552552        public function test_remove_orientation_data_on_rotate() {
     553                if ( ! function_exists( 'exif_read_data' ) ) {
     554                        $this->markTestSkipped( 'This system is missing required exif_read_data function.' );
     555                }
     556
    553557                $file = DIR_TESTDATA . '/images/test-image-upside-down.jpg';
    554558                $data = wp_read_image_metadata( $file );
    555559