[wp-trac] [WordPress Trac] #57306: External HTTP test failures
WordPress Trac
noreply at wordpress.org
Wed Dec 14 01:26:54 UTC 2022
#57306: External HTTP test failures
-------------------------------------------------+-------------------------
Reporter: SergeyBiryukov | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.2
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: dev-feedback has-patch has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"54968" 54968]:
{{{
#!CommitTicketReference repository="" revision="54968"
Built/Test tools, HTTP API: Refactor test for multiple location headers.
Remove wordpress.org as an external dependency testing
`WP_HTTP::handle_redirects()`.
This refactors and reenables an existing test to call the
`WP_HTTP::handle_redirects()` method directly with a mocked array of HTTP
headers containing multiple location headers.
The test is moved from the external-http group to the http test group as
it no longer makes an HTTP request.
Follow up to [54955].
Props SergeyBiryukov, dd32, peterwilsoncc.
Fixes #57306.
See #56793.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57306#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list