[wp-trac] [WordPress Trac] #64412: Sporadic unit test failure in Tests_REST_WpRestUrlDetailsController::test_get_items

WordPress Trac noreply at wordpress.org
Sun Dec 14 08:10:40 UTC 2025


#64412: Sporadic unit test failure in
Tests_REST_WpRestUrlDetailsController::test_get_items
--------------------------------------+--------------------------
 Reporter:  westonruter               |       Owner:  westonruter
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.9.1
Component:  Editor                    |     Version:  5.9
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+--------------------------
Changes (by westonruter):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61377" 61377]:
 {{{
 #!CommitTicketReference repository="" revision="61377"
 REST API: Use valid host in unit tests for URL Details endpoint.

 This ensures that the `url` parameter is not marked as invalid due to
 `wp_http_validate_url()` failing because of a `gethostbyname()` failure.

 Follow-up to [51973].

 Props westonruter, swissspidy.
 See #54358.
 Fixes #64412.
 }}}

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


More information about the wp-trac mailing list