diff --git a/tests/phpunit/includes/testcase.php b/tests/phpunit/includes/testcase.php index 44a0cb8298..612fa654e6 100644 --- a/tests/phpunit/includes/testcase.php +++ b/tests/phpunit/includes/testcase.php @@ -562,10 +562,6 @@ class WP_UnitTestCase extends PHPUnit_Framework_TestCase { foreach ( $tickets as $ticket ) { if ( is_numeric( $ticket ) ) { $this->knownWPBug( $ticket ); - } elseif ( 'UT' == substr( $ticket, 0, 2 ) ) { - $ticket = substr( $ticket, 2 ); - if ( $ticket && is_numeric( $ticket ) ) - $this->knownUTBug( $ticket ); } elseif ( 'Plugin' == substr( $ticket, 0, 6 ) ) { $ticket = substr( $ticket, 6 ); if ( $ticket && is_numeric( $ticket ) ) @@ -585,13 +581,10 @@ class WP_UnitTestCase extends PHPUnit_Framework_TestCase { } /** - * Skips the current test if there is an open unit tests ticket with id $ticket_id + * @deprecated No longer used since the unit test Trac was merged into Core's. */ 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 ) ); + return; } /** diff --git a/tests/phpunit/tests/feed/rss2.php b/tests/phpunit/tests/feed/rss2.php index d48bc887f6..f0d7919812 100644 --- a/tests/phpunit/tests/feed/rss2.php +++ b/tests/phpunit/tests/feed/rss2.php @@ -162,9 +162,6 @@ class Tests_Feeds_RSS2 extends WP_UnitTestCase { $this->assertNotContains( 'Tue_Translated', $pubdate[0]['content'] ); } - /** - * @ticket UT32 - */ function test_item_elements() { $this->go_to( '/?feed=rss2' ); $feed = $this->do_rss2(); diff --git a/tests/phpunit/tests/upload.php b/tests/phpunit/tests/upload.php index 361b2f0e9d..3f2028d1a6 100644 --- a/tests/phpunit/tests/upload.php +++ b/tests/phpunit/tests/upload.php @@ -8,10 +8,6 @@ class Tests_Upload extends WP_UnitTestCase { var $siteurl; function setUp() { - if ( is_multisite() ) { - $this->knownUTBug( 35 ); - } - $this->_reset_options(); parent::setUp(); }