[wp-trac] [WordPress Trac] #34000: Correctly use WP_TESTS_DOMAIN in unit tests

WordPress Trac noreply at wordpress.org
Thu Sep 24 21:01:12 UTC 2015


#34000: Correctly use WP_TESTS_DOMAIN in unit tests
------------------------------+--------------------------
 Reporter:  johnbillion       |       Owner:  johnbillion
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:                    |     Focuses:
------------------------------+--------------------------
Changes (by johnbillion):

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


Comment:

 In [changeset:"34519"]:
 {{{
 #!CommitTicketReference repository="" revision="34519"
 Use `WP_TESTS_DOMAIN` where it should be used in tests in place of hard-
 coded uses of `example.org`.

 Also corrects a test value in the data provider for
 `Tests_Sanitize_Option::test_sanitize_option()` which was only
 consequentially passing.

 Fixes #34000
 }}}

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


More information about the wp-trac mailing list