Tests: Skip multisite-only or single site-only tests correctly based on test doc annotations.

Without the `ms-required` and `ms-excluded` groups being marked as excluded in the PHPUnit configurations for the project, those groups were still executed, causing fatal errors. Checking against the groups in the correct structure of the array returned from PHPUnit's `Testcase::getAnnotations()` ensures that those tests are skipped properly.

Fixes #43863.

Built from https://develop.svn.wordpress.org/trunk@43005


git-svn-id: http://core.svn.wordpress.org/trunk@42834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Felix Arntz 2018-04-25 22:38:21 +00:00
parent 6e215cae48
commit 603c91b3bc

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-43004';
$wp_version = '5.0-alpha-43005';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.