diff --git a/tests/phpunit/tests/http/base.php b/tests/phpunit/tests/http/base.php index ee42056bb3..54bb025caa 100644 --- a/tests/phpunit/tests/http/base.php +++ b/tests/phpunit/tests/http/base.php @@ -438,6 +438,9 @@ abstract class WP_HTTP_UnitTestCase extends WP_UnitTestCase { /** * Test HTTP Redirects with multiple Location headers specified. * + * This test has been disabled due to api.wordpress.org failing to + * send two Location headers. See #57306. + * * @ticket 16890 * * @covers ::wp_remote_head @@ -445,7 +448,7 @@ abstract class WP_HTTP_UnitTestCase extends WP_UnitTestCase { * @covers ::wp_remote_get * @covers ::wp_remote_retrieve_body */ - public function test_multiple_location_headers() { + public function disabled_test_multiple_location_headers() { $url = 'http://api.wordpress.org/core/tests/1.0/redirection.php?multiple-location-headers=1'; $res = wp_remote_head( $url, array( 'timeout' => 30 ) );