Make WordPress Core


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

    r39580 r40532  
    469469        public function test_image_preserves_alpha_on_resize() {
    470470                if ( ! ( imagetypes() & IMG_PNG ) ) {
    471                         $this->markTestSkipped( 'This test requires PHP to be compiled with PNG support.' );
     471                        $this->fail( 'This test requires PHP to be compiled with PNG support.' );
    472472                }
    473473
    … …  
    496496        public function test_image_preserves_alpha() {
    497497                if ( ! ( imagetypes() & IMG_PNG ) ) {
    498                         $this->markTestSkipped( 'This test requires PHP to be compiled with PNG support.' );
     498                        $this->fail( 'This test requires PHP to be compiled with PNG support.' );
    499499                }
    500500
    … …  
    522522        public function test_image_preserves_alpha_on_rotate() {
    523523                if ( ! ( imagetypes() & IMG_PNG ) ) {
    524                         $this->markTestSkipped( 'This test requires PHP to be compiled with PNG support.' );
     524                        $this->fail( 'This test requires PHP to be compiled with PNG support.' );
    525525                }
    526526
Note: See TracChangeset for help on using the changeset viewer.