WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/22/2017 07:42:12 PM (4 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Remove more skipped tests that should actually be failures if their conditions aren't satisfied.

See #40533

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme.php

    r39919 r40524  
    190190        $latest_default_theme = WP_Theme::get_core_default_theme();
    191191        if ( ! $latest_default_theme->exists() || 'twenty' !== substr( $latest_default_theme->get_stylesheet(), 0, 6 ) ) {
    192             $this->markTestSkipped( 'No Twenty* series default themes are installed' );
     192            $this->fail( 'No Twenty* series default themes are installed' );
    193193        }
    194194        $this->assertContains( $latest_default_theme->get_stylesheet(), $this->default_themes );
Note: See TracChangeset for help on using the changeset viewer.