diff --git a/tests/files/test-curl-streamer.php b/tests/files/test-curl-streamer.php index 1640bd1f35..654bf18cf5 100644 --- a/tests/files/test-curl-streamer.php +++ b/tests/files/test-curl-streamer.php @@ -31,6 +31,13 @@ public function tearDown(): void { } public function test__init() { + global $wp_version; + + $version = preg_replace( '/-.*$/', '', $wp_version ); + if ( version_compare( $version, '6.4', '>=' ) ) { + $this->setExpectedDeprecated( 'http_api_transports' ); + } + $expected_transport = 'WP_Http_Curl'; $wp_http = new \WP_Http();