[wp-trac] [WordPress Trac] #57306: External HTTP test failures
WordPress Trac
noreply at wordpress.org
Thu Dec 15 04:35:25 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 fixed-major |
-------------------------------------------------+-------------------------
Comment (by peterwilsoncc):
In [changeset:"54984" 54984]:
{{{
#!CommitTicketReference repository="" revision="54984"
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.
Merges [54968] to the 5.1 branch.
Fixes #57306.
See #56793.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57306#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list