[wp-trac] [WordPress Trac] #36566: Improve unit tests around multisite's bootstrap, networks, and sites

WordPress Trac noreply at wordpress.org
Mon Apr 18 01:37:50 UTC 2016


#36566: Improve unit tests around multisite's bootstrap, networks, and sites
--------------------------------+------------------------
 Reporter:  jeremyfelt          |       Owner:
     Type:  task (blessed)      |      Status:  new
 Priority:  normal              |   Milestone:  4.6
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+------------------------

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/36566#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list