WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/23/2017 10:11:52 PM (2 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Remove more unnecessary test skipping when erroneous situations occur.

See #40533

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions/deprecated.php

    r29120 r40544  
    141141    public function test_wp_save_image_file_deprecated_with_gd_resource() {
    142142        if ( !function_exists( 'imagejpeg' ) )
    143             $this->markTestSkipped( 'jpeg support unavailable' );
     143            $this->fail( 'jpeg support unavailable' );
    144144
    145145        // Call wp_save_image_file
     
    162162    public function test_wp_save_image_file_not_deprecated_with_wp_image_editor() {
    163163        if ( !function_exists( 'imagejpeg' ) )
    164             $this->markTestSkipped( 'jpeg support unavailable' );
     164            $this->fail( 'jpeg support unavailable' );
    165165
    166166        // Call wp_save_image_file
Note: See TracChangeset for help on using the changeset viewer.