Exclude external HTTP tests from multisite run
In [30298] the unit tests default confirguration was modified to exclude external-http tests. This change was never migrated to the multisite XML configuration. The external HTTP code doesn't follow different logic in multisite, so the logic to exclude the tests then ( The external-http tests are very slow, and Wp_Http functionality is fairly isolated ) holds true here as well. See #33968 git-svn-id: https://develop.svn.wordpress.org/trunk@34656 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2b78c9579a
commit
963e92a7dc
@ -1,32 +1,33 @@
|
||||
<phpunit
|
||||
bootstrap="includes/bootstrap.php"
|
||||
backupGlobals="false"
|
||||
colors="true"
|
||||
>
|
||||
<php>
|
||||
<const name="WP_TESTS_MULTISITE" value="1" />
|
||||
</php>
|
||||
<testsuites>
|
||||
<!-- Default test suite to run all tests -->
|
||||
<testsuite>
|
||||
<directory suffix=".php">tests</directory>
|
||||
<exclude>tests/phpunit/tests/actions/closures.php</exclude>
|
||||
<exclude>tests/phpunit/tests/image/editor.php</exclude>
|
||||
<exclude>tests/phpunit/tests/image/editor_gd.php</exclude>
|
||||
<exclude>tests/phpunit/tests/image/editor_imagick.php</exclude>
|
||||
<file phpVersion="5.3.0">tests/phpunit/tests/actions/closures.php</file>
|
||||
<file phpVersion="5.3.0">tests/phpunit/tests/image/editor.php</file>
|
||||
<file phpVersion="5.3.0">tests/phpunit/tests/image/editor_gd.php</file>
|
||||
<file phpVersion="5.3.0">tests/phpunit/tests/image/editor_imagick.php</file>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<groups>
|
||||
<exclude>
|
||||
<group>ajax</group>
|
||||
<group>ms-files</group>
|
||||
</exclude>
|
||||
</groups>
|
||||
<php>
|
||||
<const name="WP_RUN_CORE_TESTS" value="1" />
|
||||
</php>
|
||||
</phpunit>
|
||||
<phpunit
|
||||
bootstrap="includes/bootstrap.php"
|
||||
backupGlobals="false"
|
||||
colors="true"
|
||||
>
|
||||
<php>
|
||||
<const name="WP_TESTS_MULTISITE" value="1" />
|
||||
</php>
|
||||
<testsuites>
|
||||
<!-- Default test suite to run all tests -->
|
||||
<testsuite>
|
||||
<directory suffix=".php">tests</directory>
|
||||
<exclude>tests/phpunit/tests/actions/closures.php</exclude>
|
||||
<exclude>tests/phpunit/tests/image/editor.php</exclude>
|
||||
<exclude>tests/phpunit/tests/image/editor_gd.php</exclude>
|
||||
<exclude>tests/phpunit/tests/image/editor_imagick.php</exclude>
|
||||
<file phpVersion="5.3.0">tests/phpunit/tests/actions/closures.php</file>
|
||||
<file phpVersion="5.3.0">tests/phpunit/tests/image/editor.php</file>
|
||||
<file phpVersion="5.3.0">tests/phpunit/tests/image/editor_gd.php</file>
|
||||
<file phpVersion="5.3.0">tests/phpunit/tests/image/editor_imagick.php</file>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<groups>
|
||||
<exclude>
|
||||
<group>ajax</group>
|
||||
<group>ms-files</group>
|
||||
<group>external-http</group>
|
||||
</exclude>
|
||||
</groups>
|
||||
<php>
|
||||
<const name="WP_RUN_CORE_TESTS" value="1" />
|
||||
</php>
|
||||
</phpunit>
|
||||
|
Loading…
Reference in New Issue
Block a user