[wp-trac] [WordPress Trac] #42736: Avoid hard-coded example.org in test_media_handle_upload_uses_post_parent_for_directory_date() and fix a "false positive" assertion in test_media_handle_upload_ignores_page_parent_for_directory_date()

WordPress Trac noreply at wordpress.org
Sun Feb 25 18:42:28 UTC 2018


#42736: Avoid hard-coded example.org in
test_media_handle_upload_uses_post_parent_for_directory_date() and fix a
"false positive" assertion in
test_media_handle_upload_ignores_page_parent_for_directory_date()
------------------------------+------------------
 Reporter:  birgire           |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:  4.9
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------

Comment (by SergeyBiryukov):

 In [changeset:"42742"]:
 {{{
 #!CommitTicketReference repository="" revision="42742"
 Tests: Avoid hardcoded domain name in
 `test_media_handle_upload_uses_post_parent_for_directory_date()`.

 Props birgire.
 See #42736.
 }}}

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


More information about the wp-trac mailing list