Changeset 40531
- Timestamp:
- 04/22/2017 10:00:15 PM (7 years ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/import/import.php
r38283 r40531 19 19 20 20 if ( ! file_exists( DIR_TESTDATA . '/plugins/wordpress-importer/wordpress-importer.php' ) ) { 21 $this-> markTestSkipped( 'WordPress Importer plugin is not installed.' );21 $this->fail( 'WordPress Importer plugin is not installed.' ); 22 22 } 23 23 -
trunk/tests/phpunit/tests/post/attachments.php
r36721 r40531 58 58 function test_insert_image_thumb_only() { 59 59 if ( !function_exists( 'imagejpeg' ) ) 60 $this-> markTestSkipped( 'jpeg support unavailable' );60 $this->fail( 'jpeg support unavailable' ); 61 61 62 62 update_option( 'medium_size_w', 0 ); … … 110 110 function test_insert_image_medium_sizes() { 111 111 if ( !function_exists( 'imagejpeg' ) ) 112 $this-> markTestSkipped( 'jpeg support unavailable' );112 $this->fail( 'jpeg support unavailable' ); 113 113 114 114 update_option('medium_size_w', 400); … … 168 168 function test_insert_image_delete() { 169 169 if ( !function_exists( 'imagejpeg' ) ) 170 $this-> markTestSkipped( 'jpeg support unavailable' );170 $this->fail( 'jpeg support unavailable' ); 171 171 172 172 update_option('medium_size_w', 400);
Note: See TracChangeset
for help on using the changeset viewer.