Changeset 40523
- Timestamp:
- 04/22/2017 07:38:42 PM (7 years ago)
- Location:
- trunk/tests/phpunit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase.php
r40417 r40523 563 563 if ( is_numeric( $ticket ) ) { 564 564 $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 );569 565 } elseif ( 'Plugin' == substr( $ticket, 0, 6 ) ) { 570 566 $ticket = substr( $ticket, 6 ); … … 586 582 587 583 /** 588 * Skips the current test if there is an open unit tests ticket with id $ticket_id584 * @deprecated No longer used since the unit test Trac was merged into Core's. 589 585 */ 590 586 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; 595 588 } 596 589 -
trunk/tests/phpunit/tests/feed/rss2.php
r40030 r40523 163 163 } 164 164 165 /**166 * @ticket UT32167 */168 165 function test_item_elements() { 169 166 $this->go_to( '/?feed=rss2' ); -
trunk/tests/phpunit/tests/upload.php
r36717 r40523 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.