[wp-trac] [WordPress Trac] #34941: Make the main bootstrap process in ms-settings.php testable
WordPress Trac
noreply at wordpress.org
Mon Apr 18 01:37:49 UTC 2016
#34941: Make the main bootstrap process in ms-settings.php testable
-------------------------------------------------+-------------------------
Reporter: jeremyfelt | Owner: jeremyfelt
Type: enhancement | Status: accepted
Priority: normal | Milestone: 4.6
Component: Bootstrap/Load | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs- | Focuses: multisite
testing |
-------------------------------------------------+-------------------------
Comment (by jeremyfelt):
In [changeset:"37234"]:
{{{
#!CommitTicketReference repository="" revision="37234"
Tests: Share test fixtures in multisite bootstrap tests
* Remove unnecessary `setUp` and `tearDown` methods.
* Create networks and sites in `wpSetupBeforeClass` to share throughout.
* Destroy networks and sites in `wpTearDownAfterClass` to unpollute.
See #36566, #34941.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34941#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list