Make WordPress Core


Ignore:
Timestamp:
04/22/2017 10:11:56 PM (8 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/resize.php

    r37327 r40532  
    4343
    4444        if ( ! is_string( $image ) ) {  // WP_Error, stop GLib-GObject-CRITICAL assertion
    45             $this->markTestSkipped( sprintf( 'No PNG support in the editor engine %s on this system', $this->editor_engine ) );
    46             return;
     45            $this->fail( sprintf( 'No PNG support in the editor engine %s on this system', $this->editor_engine ) );
    4746        }
    4847
     
    6059
    6160        if ( ! is_string( $image ) ) {  // WP_Error, stop GLib-GObject-CRITICAL assertion
    62             $this->markTestSkipped( sprintf( 'No GIF support in the editor engine %s on this system', $this->editor_engine ) );
    63             return;
     61            $this->fail( sprintf( 'No GIF support in the editor engine %s on this system', $this->editor_engine ) );
    6462        }
    6563
Note: See TracChangeset for help on using the changeset viewer.