You appear to be a bot. Output may be restricted
Description
Skips the current test if there is an open unit tests ticket with id $ticket_id
Usage
WP_UnitTestCase::knownUTBug( $ticket_id );
Parameters
- $ticket_id
- ( mixed ) required –
Returns
voidSource
File name: oik-batch/tests/testcase.phpLines:
1 to 6 of 6
function knownUTBug( $ticket_id ) { if ( WP_TESTS_FORCE_KNOWN_BUGS || in_array( 'UT' . $ticket_id, self::$forced_tickets ) ) return; if ( ! TracTickets::isTracTicketClosed( 'https://unit-tests.trac.wordpress.org', $ticket_id ) ) $this->markTestSkipped( sprintf( 'Unit Tests Ticket #%d is not fixed', $ticket_id ) ); }View on GitHub