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