Changeset 40532 for trunk/tests/phpunit/tests/image/intermediate_size.php
- Timestamp:
- 04/22/2017 10:11:56 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/intermediate_size.php
r38086 r40532 31 31 function test_make_intermediate_size_width() { 32 32 if ( !function_exists( 'imagejpeg' ) ) 33 $this-> markTestSkipped( 'jpeg support unavailable' );33 $this->fail( 'jpeg support unavailable' ); 34 34 35 35 $image = image_make_intermediate_size( DIR_TESTDATA . '/images/a2-small.jpg', 100, 0, false ); … … 40 40 function test_make_intermediate_size_height() { 41 41 if ( !function_exists( 'imagejpeg' ) ) 42 $this-> markTestSkipped( 'jpeg support unavailable' );42 $this->fail( 'jpeg support unavailable' ); 43 43 44 44 $image = image_make_intermediate_size( DIR_TESTDATA . '/images/a2-small.jpg', 0, 75, false ); … … 49 49 function test_make_intermediate_size_successful() { 50 50 if ( !function_exists( 'imagejpeg' ) ) 51 $this-> markTestSkipped( 'jpeg support unavailable' );51 $this->fail( 'jpeg support unavailable' ); 52 52 53 53 $image = image_make_intermediate_size( DIR_TESTDATA . '/images/a2-small.jpg', 100, 75, true );
Note: See TracChangeset
for help on using the changeset viewer.