[wp-trac] [WordPress Trac] #40531: Avoid test skipping for multisite only or single site only tests
WordPress Trac
noreply at wordpress.org
Mon May 1 20:34:12 UTC 2017
#40531: Avoid test skipping for multisite only or single site only tests
------------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 4.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: needs-patch | Focuses: multisite
------------------------------+--------------------------
Changes (by johnbillion):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"40564"]:
{{{
#!CommitTicketReference repository="" revision="40564"
Build/Test Tools: Automatically skip tests in the `ms-required` and `ms-
excluded` groups.
This removes the need to manually call `$this->skipWithMultisite()` and
`$this->skipWithoutMultisite()` from within the test when the test only
runs without Multisite or only runs on Multisite, respectively.
Props jdgrimes for the suggestion.
Fixes #40531
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40531#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list