Make WordPress Core

Changeset 41305


Ignore:
Timestamp:
08/22/2017 07:58:16 PM (7 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Remove ancient UT ticket handling for the 4.7 branch.

See #40533

Merges [40523] to the 4.7 branch.

Location:
branches/4.7
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/tests/phpunit/includes/testcase.php

    r40876 r41305  
    556556            if ( is_numeric( $ticket ) ) {
    557557                $this->knownWPBug( $ticket );
    558             } elseif ( 'UT' == substr( $ticket, 0, 2 ) ) {
    559                 $ticket = substr( $ticket, 2 );
    560                 if ( $ticket && is_numeric( $ticket ) )
    561                     $this->knownUTBug( $ticket );
    562558            } elseif ( 'Plugin' == substr( $ticket, 0, 6 ) ) {
    563559                $ticket = substr( $ticket, 6 );
     
    579575
    580576    /**
    581      * Skips the current test if there is an open unit tests ticket with id $ticket_id
     577     * @deprecated No longer used since the unit test Trac was merged into Core's.
    582578     */
    583579    function knownUTBug( $ticket_id ) {
    584         if ( WP_TESTS_FORCE_KNOWN_BUGS || in_array( 'UT' . $ticket_id, self::$forced_tickets ) )
    585             return;
    586         if ( ! TracTickets::isTracTicketClosed( 'https://unit-tests.trac.wordpress.org', $ticket_id ) )
    587             $this->markTestSkipped( sprintf( 'Unit Tests Ticket #%d is not fixed', $ticket_id ) );
     580        return;
    588581    }
    589582
  • branches/4.7/tests/phpunit/tests/feed/rss2.php

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

    r36717 r41305  
    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.