From 2f9a63bf8707dc8a2767c3b3e9057e2280560e8c Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Fri, 14 Dec 2018 00:57:50 +0000 Subject: [PATCH] REST API: Restore Autosaves controller test for multisite. PHPUnit 3.6.x requires `exclude` and `file` paths to be relative to the checkout root. PHPUnit 4.0.0+ requires the paths to be relative to the configuration file. Merges [43774] from the 5.0 branch to trunk. See #45131. git-svn-id: https://develop.svn.wordpress.org/trunk@44128 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/multisite.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/multisite.xml b/tests/phpunit/multisite.xml index d8aa698e36..bcfc440a4a 100644 --- a/tests/phpunit/multisite.xml +++ b/tests/phpunit/multisite.xml @@ -15,15 +15,22 @@ tests/phpunit/tests/image/editor.php tests/phpunit/tests/image/editorGd.php tests/phpunit/tests/image/editorImagick.php - - - tests/rest-api/rest-autosaves-controller.php + tests/phpunit/tests/rest-api/rest-autosaves-controller.php + + tests/rest-api/rest-autosaves-controller.php tests/phpunit/tests/actions/closures.php tests/phpunit/tests/image/editor.php tests/phpunit/tests/image/editorGd.php tests/phpunit/tests/image/editorImagick.php + + + + tests/phpunit/tests/rest-api/rest-autosaves-controller.php + + tests/rest-api/rest-autosaves-controller.php +