diff --git a/Tests/NIOHTTP1Tests/HTTPResponseCompressorTest.swift b/Tests/NIOHTTP1Tests/HTTPResponseCompressorTest.swift index 3edcfd020..20810c384 100644 --- a/Tests/NIOHTTP1Tests/HTTPResponseCompressorTest.swift +++ b/Tests/NIOHTTP1Tests/HTTPResponseCompressorTest.swift @@ -134,8 +134,7 @@ class HTTPResponseCompressorTest: XCTestCase { private func clientParsingChannel() -> EmbeddedChannel { let channel = EmbeddedChannel() - try! channel.pipeline.add(handler: HTTPRequestEncoder()).wait() - try! channel.pipeline.add(handler: HTTPResponseDecoder()).wait() + try! channel.pipeline.addHTTPClientHandlers().wait() return channel }