From 6a0d459cf1dc9c000eda2bfae746dfc7208b1974 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Thu, 5 Dec 2024 09:02:29 +0000 Subject: [PATCH] Fix deprecation warning --- Tests/OpenAPIHummingbirdTests/OpenAPITransportTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/OpenAPIHummingbirdTests/OpenAPITransportTests.swift b/Tests/OpenAPIHummingbirdTests/OpenAPITransportTests.swift index 91cddb1..2da2004 100644 --- a/Tests/OpenAPIHummingbirdTests/OpenAPITransportTests.swift +++ b/Tests/OpenAPIHummingbirdTests/OpenAPITransportTests.swift @@ -103,7 +103,7 @@ final class HBOpenAPITransportTests: XCTestCase { let app = Application( router: router, - server: .http1(additionalChannelHandlers: [BreakupHTTPBodyChannelHandler()]) + server: .http1(configuration: .init(additionalChannelHandlers: [BreakupHTTPBodyChannelHandler()])) ) try await app.test(.live) { client in