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

WordPress Trac noreply at wordpress.org
Thu Jun 9 00:27:49 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:"37662"]:
 {{{
 #!CommitTicketReference repository="" revision="37662"
 Tests: User a data provider for `wp_get_sites()` tests.

 * Convert existing tests into a data provider and clarify expectations.
 * Add shared test fixtures in preparation for future tests.

 This passes with the `wp_get_sites()` from 4.5 and the deprecated version
 in trunk.

 See #36566.
 }}}

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


More information about the wp-trac mailing list