diff --git a/tests/phpunit/tests/rest-api/rest-schema-setup.php b/tests/phpunit/tests/rest-api/rest-schema-setup.php index 80712ce172..c286504e18 100644 --- a/tests/phpunit/tests/rest-api/rest-schema-setup.php +++ b/tests/phpunit/tests/rest-api/rest-schema-setup.php @@ -283,7 +283,9 @@ class WP_Test_REST_Schema_Initialization extends WP_Test_REST_TestCase { } } - if ( version_compare( PHP_VERSION, '5.4', '<' ) ) { + if ( is_multisite() ) { + echo "Skipping generation of API client fixtures in multisite mode.\n"; + } else if ( version_compare( PHP_VERSION, '5.4', '<' ) ) { echo "Skipping generation of API client fixtures due to unsupported JSON_* constants.\n"; } else { // Save the route object for QUnit tests.