Changeset 49024 for trunk/tests/phpunit/tests/post/attachments.php
- Timestamp:
- 09/21/2020 11:34:06 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/attachments.php
r48937 r49024 55 55 } 56 56 57 /** 58 * @requires function imagejpeg 59 */ 57 60 function test_insert_image_thumb_only() { 58 if ( ! function_exists( 'imagejpeg' ) ) {59 $this->fail( 'jpeg support unavailable' );60 }61 62 61 update_option( 'medium_size_w', 0 ); 63 62 update_option( 'medium_size_h', 0 ); … … 107 106 } 108 107 108 /** 109 * @requires function imagejpeg 110 */ 109 111 function test_insert_image_medium_sizes() { 110 if ( ! function_exists( 'imagejpeg' ) ) {111 $this->fail( 'jpeg support unavailable' );112 }113 114 112 update_option( 'medium_size_w', 400 ); 115 113 update_option( 'medium_size_h', 0 ); … … 165 163 } 166 164 167 165 /** 166 * @requires function imagejpeg 167 */ 168 168 function test_insert_image_delete() { 169 if ( ! function_exists( 'imagejpeg' ) ) {170 $this->fail( 'jpeg support unavailable' );171 }172 173 169 update_option( 'medium_size_w', 400 ); 174 170 update_option( 'medium_size_h', 0 );
Note: See TracChangeset
for help on using the changeset viewer.