Make WordPress Core

Changeset 40523


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

Build/Test Tools: Remove ancient UT ticket handling.

See #40533

Location:
trunk/tests/phpunit
Files:
3 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
  • trunk/tests/phpunit/tests/feed/rss2.php

    r40030 r40523  
    163163    }
    164164
    165     /**
    166      * @ticket UT32
    167      */
    168165    function test_item_elements() {
    169166        $this->go_to( '/?feed=rss2' );
  • trunk/tests/phpunit/tests/upload.php

    r36717 r40523  
    99
    1010    function setUp() {
    11         if ( is_multisite() ) {
    12             $this->knownUTBug( 35 );
    13         }
    14 
    1511        $this->_reset_options();
    1612        parent::setUp();
Note: See TracChangeset for help on using the changeset viewer.