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

WordPress Trac noreply at wordpress.org
Thu Jun 9 15:57:39 UTC 2016


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

Comment (by jeremyfelt):

 In [changeset:"37666"]:
 {{{
 #!CommitTicketReference repository="" revision="37666"
 Tests: Split `get_blog_details()` test into individual tests

 * One test per method
 * Clarify existing tests.
 * Add test for passing a "blog slug" string to `get_blog_details()`.
 * Shared fixture of sites.
 * Reduce number of sites created to only those necessary.
 * Remove unnecessary networks creation.

 See #36566.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36566#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list