[wp-trac] [WordPress Trac] #32026: Tests: Tests_Multisite_Site:: test_get_blogaddress_by_id_with_valid_id shouldn't use a hardcoded domain name

WordPress Trac noreply at wordpress.org
Tue May 19 05:45:34 UTC 2015


#32026: Tests: Tests_Multisite_Site:: test_get_blogaddress_by_id_with_valid_id
shouldn't use a hardcoded domain name
------------------------------+-------------------------
 Reporter:  netweb            |       Owner:  jeremyfelt
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.3
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:                    |     Focuses:  multisite
------------------------------+-------------------------
Changes (by jeremyfelt):

 * owner:   => jeremyfelt
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32512"]:
 {{{
 #!CommitTicketReference repository="" revision="32512"
 Use `WP_TESTS_DOMAIN` in `test_get_blogaddress_by_id_with_valid_id()`

 A hard coded `example.org` would break the test if a custom
 `WP_TESTS_DOMAIN` was specified. We should defer to the configured
 default.

 Fixes #32026.
 }}}

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


More information about the wp-trac mailing list