Changeset 41841 for trunk/tests/phpunit/tests/image/functions.php
- Timestamp:
- 10/12/2017 04:27:22 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/functions.php
r41784 r41841 267 267 // First, test with deprecated wp_load_image function 268 268 $editor1 = wp_load_image( DIR_TESTDATA ); 269 $this->assert InternalType( 'string', $editor1 );269 $this->assertNotInternalType( 'resource', $editor1 ); 270 270 271 271 $editor2 = wp_get_image_editor( DIR_TESTDATA ); 272 $this->assert WPError($editor2 );272 $this->assertNotInternalType( 'resource', $editor2 ); 273 273 274 274 // Then, test with editors.
Note: See TracChangeset
for help on using the changeset viewer.