Make WordPress Core


Ignore:
Timestamp:
10/12/2017 04:27:22 AM (7 years ago)
Author:
pento
Message:

Build/Test Tools: Revert [41784].

[41784] was a workaround for a bug in PHPUnit 6.4. PHPUnit 6.4.1 has since been released, which includes a fix for this.

Fixes #42124.

File:
1 edited

Legend:

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

    r41784 r41841  
    267267        // First, test with deprecated wp_load_image function
    268268        $editor1 = wp_load_image( DIR_TESTDATA );
    269         $this->assertInternalType( 'string', $editor1 );
     269        $this->assertNotInternalType( 'resource', $editor1 );
    270270
    271271        $editor2 = wp_get_image_editor( DIR_TESTDATA );
    272         $this->assertWPError( $editor2 );
     272        $this->assertNotInternalType( 'resource', $editor2 );
    273273
    274274        // Then, test with editors.
Note: See TracChangeset for help on using the changeset viewer.