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

WordPress Trac noreply at wordpress.org
Wed Apr 27 06:32:49 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:"37318"]:
 {{{
 #!CommitTicketReference repository="" revision="37318"
 Tests: Reduce unnecessary count in `create_many()` in multisite user tests

 The tests for `is_blog_user()` and `is_user_member_of_blog()` should be
 refactored. Until then, we can shave several seconds from the test time by
 avoiding unnecessary loops of the same tests.

 See #36566.
 }}}

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


More information about the wp-trac mailing list