Changeset 40532 for trunk/tests/phpunit/tests/image/functions.php
- Timestamp:
- 04/22/2017 10:11:56 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/image/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/functions.php
r40131 r40532 290 290 public function test_wp_crop_image_file() { 291 291 if ( !function_exists( 'imagejpeg' ) ) 292 $this-> markTestSkipped( 'jpeg support unavailable' );292 $this->fail( 'jpeg support unavailable' ); 293 293 294 294 $file = wp_crop_image( DIR_TESTDATA . '/images/canola.jpg', … … 306 306 public function test_wp_crop_image_url() { 307 307 if ( !function_exists( 'imagejpeg' ) ) 308 $this-> markTestSkipped( 'jpeg support unavailable' );308 $this->fail( 'jpeg support unavailable' ); 309 309 310 310 if ( ! extension_loaded( 'openssl' ) ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)