mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
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:
parent
2eb8cb7ca2
commit
040b411ec2
@ -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) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user