Make WordPress Core


Ignore:
Timestamp:
10/04/2014 01:11:38 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Fix setting default quality in WP_Image_Editor.

props markoheijnen.
fixes #29856 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/image/editor_imagick.php

    r29120 r29834  
    464464
    465465        $editor = wp_get_image_editor( $file );
     466
     467        $this->assertNotInstanceOf( 'WP_Error', $editor );
     468       
    466469        $editor->load();
    467470        $editor->resize( 5, 5 );
     
    484487
    485488        $editor = wp_get_image_editor( $file );
     489
     490        $this->assertNotInstanceOf( 'WP_Error', $editor );
     491
    486492        $editor->load();
    487493
Note: See TracChangeset for help on using the changeset viewer.