Changeset 43005
- Timestamp:
- 04/25/2018 10:37:08 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase.php
r42836 r43005 655 655 $annotations = $this->getAnnotations(); 656 656 657 if ( ! empty( $annotations['group'] ) ) { 658 if ( in_array( 'ms-required', $annotations['group'], true ) ) { 657 $groups = array(); 658 if ( ! empty( $annotations['class']['group'] ) ) { 659 $groups = array_merge( $groups, $annotations['class']['group'] ); 660 } 661 if ( ! empty( $annotations['method']['group'] ) ) { 662 $groups = array_merge( $groups, $annotations['method']['group'] ); 663 } 664 665 if ( ! empty( $groups ) ) { 666 if ( in_array( 'ms-required', $groups, true ) ) { 659 667 $this->skipWithoutMultisite(); 660 668 } 661 if ( in_array( 'ms-excluded', $annotations['group'], true ) ) { 669 670 if ( in_array( 'ms-excluded', $groups, true ) ) { 662 671 $this->skipWithMultisite(); 663 672 }
Note: See TracChangeset
for help on using the changeset viewer.