Make WordPress Core


Ignore:
Timestamp:
04/22/2017 10:00:15 PM (7 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Convert more test skipping into hard failures. These dependencies should all be present when testing.

See #40533

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/post/attachments.php

    r36721 r40531  
    5858    function test_insert_image_thumb_only() {
    5959        if ( !function_exists( 'imagejpeg' ) )
    60             $this->markTestSkipped( 'jpeg support unavailable' );
     60            $this->fail( 'jpeg support unavailable' );
    6161
    6262        update_option( 'medium_size_w', 0 );
     
    110110    function test_insert_image_medium_sizes() {
    111111        if ( !function_exists( 'imagejpeg' ) )
    112             $this->markTestSkipped( 'jpeg support unavailable' );
     112            $this->fail( 'jpeg support unavailable' );
    113113
    114114        update_option('medium_size_w', 400);
     
    168168    function test_insert_image_delete() {
    169169        if ( !function_exists( 'imagejpeg' ) )
    170             $this->markTestSkipped( 'jpeg support unavailable' );
     170            $this->fail( 'jpeg support unavailable' );
    171171
    172172        update_option('medium_size_w', 400);
Note: See TracChangeset for help on using the changeset viewer.