Make WordPress Core


Ignore:
Timestamp:
04/22/2017 10:11:56 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/image/functions.php

    r40131 r40532  
    290290    public function test_wp_crop_image_file() {
    291291        if ( !function_exists( 'imagejpeg' ) )
    292             $this->markTestSkipped( 'jpeg support unavailable' );
     292            $this->fail( 'jpeg support unavailable' );
    293293
    294294        $file = wp_crop_image( DIR_TESTDATA . '/images/canola.jpg',
     
    306306    public function test_wp_crop_image_url() {
    307307        if ( !function_exists( 'imagejpeg' ) )
    308             $this->markTestSkipped( 'jpeg support unavailable' );
     308            $this->fail( 'jpeg support unavailable' );
    309309
    310310        if ( ! extension_loaded( 'openssl' ) ) {
Note: See TracChangeset for help on using the changeset viewer.