diff options
author | John Blackbourn <johnbillion@git.wordpress.org> | 2017-04-22 18:25:30 +0000 |
---|---|---|
committer | John Blackbourn <johnbillion@git.wordpress.org> | 2017-04-22 18:25:30 +0000 |
commit | 040b411ec2489cdf8c1ef6caaed6f1aaa69e2acd (patch) | |
tree | 1050de46424b98bd0b98c5bc2762b98afa9dc3e3 /tests/phpunit/includes/testcase-canonical.php | |
parent | 2eb8cb7ca2d4793658115c6adb93460fe9b78097 (diff) | |
download | wordpress-040b411ec2489cdf8c1ef6caaed6f1aaa69e2acd.tar.gz wordpress-040b411ec2489cdf8c1ef6caaed6f1aaa69e2acd.zip |
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
Diffstat (limited to 'tests/phpunit/includes/testcase-canonical.php')
-rw-r--r-- | tests/phpunit/includes/testcase-canonical.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/phpunit/includes/testcase-canonical.php b/tests/phpunit/includes/testcase-canonical.php index 2ffbc982eb..a48d716ab2 100644 --- a/tests/phpunit/includes/testcase-canonical.php +++ b/tests/phpunit/includes/testcase-canonical.php @@ -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) ) |