Build/Test Tools: Avoid skipping canonical tests that are connected to open Trac tickets.

This is a remnant of the test suite behaviour before #30284 fixed most of it and makes it far too easy to hide failing tests.

If any tests begin to fail as a result of this change then they should be fixed.

Fixes #40534


git-svn-id: https://develop.svn.wordpress.org/trunk@40518 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2017-04-22 18:25:30 +00:00
parent 2eb8cb7ca2
commit 040b411ec2
1 changed files with 0 additions and 3 deletions

View File

@ -157,9 +157,6 @@ class WP_Canonical_UnitTestCase extends WP_UnitTestCase {
public function assertCanonical( $test_url, $expected, $ticket = 0, $expected_doing_it_wrong = array() ) {
$this->expected_doing_it_wrong = array_merge( $this->expected_doing_it_wrong, (array) $expected_doing_it_wrong );
if ( $ticket )
$this->knownWPBug( $ticket );
$ticket_ref = ($ticket > 0) ? 'Ticket #' . $ticket : null;
if ( is_string($expected) )