Make WordPress Core


Ignore:
Timestamp:
02/20/2020 05:43:23 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Merge some test fixes to the 4.0 branch, for consistency with other branches.

This backports [30518], [30520], [30526], [31253-31254], [31257].

See #49485.

Location:
branches/4.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.0

  • branches/4.0/tests/phpunit/includes/testcase.php

    r45013 r47331  
    328328        protected function checkRequirements() {
    329329                parent::checkRequirements();
     330
     331                // Core tests no longer check against open Trac tickets, but others using WP_UnitTestCase may do so.
     332                if ( defined( 'WP_RUN_CORE_TESTS' ) && WP_RUN_CORE_TESTS ) {
     333                        return;
     334                }
     335
    330336                if ( WP_TESTS_FORCE_KNOWN_BUGS )
    331337                        return;
Note: See TracChangeset for help on using the changeset viewer.