WordPress.org

Make WordPress Core


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

Build/Test Tools: Remove ancient UT ticket handling.

See #40533

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/testcase.php

    r40417 r40523  
    563563            if ( is_numeric( $ticket ) ) {
    564564                $this->knownWPBug( $ticket );
    565             } elseif ( 'UT' == substr( $ticket, 0, 2 ) ) {
    566                 $ticket = substr( $ticket, 2 );
    567                 if ( $ticket && is_numeric( $ticket ) )
    568                     $this->knownUTBug( $ticket );
    569565            } elseif ( 'Plugin' == substr( $ticket, 0, 6 ) ) {
    570566                $ticket = substr( $ticket, 6 );
     
    586582
    587583    /**
    588      * Skips the current test if there is an open unit tests ticket with id $ticket_id
     584     * @deprecated No longer used since the unit test Trac was merged into Core's.
    589585     */
    590586    function knownUTBug( $ticket_id ) {
    591         if ( WP_TESTS_FORCE_KNOWN_BUGS || in_array( 'UT' . $ticket_id, self::$forced_tickets ) )
    592             return;
    593         if ( ! TracTickets::isTracTicketClosed( 'https://unit-tests.trac.wordpress.org', $ticket_id ) )
    594             $this->markTestSkipped( sprintf( 'Unit Tests Ticket #%d is not fixed', $ticket_id ) );
     587        return;
    595588    }
    596589
Note: See TracChangeset for help on using the changeset viewer.