Changeset 40564 for trunk/tests/phpunit/includes/testcase.php
- Timestamp:
- 05/01/2017 08:34:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase.php
r40543 r40564 577 577 protected function checkRequirements() { 578 578 parent::checkRequirements(); 579 580 $annotations = $this->getAnnotations(); 581 582 if ( ! empty( $annotations['group'] ) ) { 583 if ( in_array( 'ms-required', $annotations['group'], true ) ) { 584 $this->skipWithoutMultisite(); 585 } 586 if ( in_array( 'ms-excluded', $annotations['group'], true ) ) { 587 $this->skipWithMultisite(); 588 } 589 } 579 590 580 591 // Core tests no longer check against open Trac tickets, but others using WP_UnitTestCase may do so.
Note: See TracChangeset
for help on using the changeset viewer.