Changeset 41305
- Timestamp:
- 08/22/2017 07:58:16 PM (7 years ago)
- Location:
- branches/4.7
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/tests/phpunit/includes/testcase.php
r40876 r41305 556 556 if ( is_numeric( $ticket ) ) { 557 557 $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 );562 558 } elseif ( 'Plugin' == substr( $ticket, 0, 6 ) ) { 563 559 $ticket = substr( $ticket, 6 ); … … 579 575 580 576 /** 581 * Skips the current test if there is an open unit tests ticket with id $ticket_id577 * @deprecated No longer used since the unit test Trac was merged into Core's. 582 578 */ 583 579 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; 588 581 } 589 582 -
branches/4.7/tests/phpunit/tests/feed/rss2.php
r40085 r41305 163 163 } 164 164 165 /**166 * @ticket UT32167 */168 165 function test_item_elements() { 169 166 $this->go_to( '/?feed=rss2' ); -
branches/4.7/tests/phpunit/tests/upload.php
r36717 r41305 9 9 10 10 function setUp() { 11 if ( is_multisite() ) {12 $this->knownUTBug( 35 );13 }14 15 11 $this->_reset_options(); 16 12 parent::setUp();
Note: See TracChangeset
for help on using the changeset viewer.