Changeset 40532 for trunk/tests/phpunit/tests/image/resize.php
- Timestamp:
- 04/22/2017 10:11:56 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/resize.php
r37327 r40532 43 43 44 44 if ( ! is_string( $image ) ) { // WP_Error, stop GLib-GObject-CRITICAL assertion 45 $this->markTestSkipped( sprintf( 'No PNG support in the editor engine %s on this system', $this->editor_engine ) ); 46 return; 45 $this->fail( sprintf( 'No PNG support in the editor engine %s on this system', $this->editor_engine ) ); 47 46 } 48 47 … … 60 59 61 60 if ( ! is_string( $image ) ) { // WP_Error, stop GLib-GObject-CRITICAL assertion 62 $this->markTestSkipped( sprintf( 'No GIF support in the editor engine %s on this system', $this->editor_engine ) ); 63 return; 61 $this->fail( sprintf( 'No GIF support in the editor engine %s on this system', $this->editor_engine ) ); 64 62 } 65 63
Note: See TracChangeset
for help on using the changeset viewer.