Make WordPress Core


Ignore:
Timestamp:
09/12/2013 04:40:13 AM (13 years ago)
Author:
wonderboymusic
Message:
  • Avoid notice by making WP_Image_Editor_Mock::test() compatible with WP_Image_Editor::test().
  • Suppress deprecated function notice for wp_load_image().
  • Add assertion for wp_get_image_editor().

See #25282.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/mock-image-editor.php

    r25002 r25380  
    1212                        return self::$load_return;
    1313                }
    14                 public static function test() {
     14                public static function test( $args = array() ) {
    1515                        return self::$test_return;
    1616                }
Note: See TracChangeset for help on using the changeset viewer.