Changeset 41784
- Timestamp:
- 10/06/2017 06:21:16 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/functions.php
r41279 r41784 267 267 // First, test with deprecated wp_load_image function 268 268 $editor1 = wp_load_image( DIR_TESTDATA ); 269 $this->assert NotInternalType( 'resource', $editor1 );269 $this->assertInternalType( 'string', $editor1 ); 270 270 271 271 $editor2 = wp_get_image_editor( DIR_TESTDATA ); 272 $this->assert NotInternalType( 'resource',$editor2 );272 $this->assertWPError( $editor2 ); 273 273 274 274 // Then, test with editors.
Note: See TracChangeset
for help on using the changeset viewer.