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