[wp-trac] [WordPress Trac] #30080: Consolidate, split, and organize current tests in ms-site group

WordPress Trac noreply at wordpress.org
Mon Dec 8 02:32:55 UTC 2014


#30080: Consolidate, split, and organize current tests in ms-site group
--------------------------------+-------------------------
 Reporter:  jeremyfelt          |       Owner:  jeremyfelt
     Type:  task (blessed)      |      Status:  assigned
 Priority:  normal              |   Milestone:  4.1
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+-------------------------

Comment (by jeremyfelt):

 In [changeset:"30786"]:
 {{{
 #!CommitTicketReference repository="" revision="30786"
 Clean up factory arguments in ms-sites group.

 * Arguments for user, path, and title are only necessary when we need to
 do something with those arguments later. Most cases in the ms-sites group
 do not require them.
 * In `test_get_blog_id_from_url_is_case_insensitive()`, we should pass a
 lowercase domain argument.
 * A user factory in `test_switch_restore_blog()` is not necessary.

 See #30080
 }}}

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


More information about the wp-trac mailing list