We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 486f4bf commit 7986e63Copy full SHA for 7986e63
Sources/App/Core/Dependencies/HTTPClient.swift
@@ -22,8 +22,8 @@ import Vapor
22
struct HTTPClient {
23
typealias Response = Vapor.HTTPClient.Response
24
25
- var fetchDocumentation: @Sendable (_ url: URI) async throws -> Response = { _ in XCTFail("fetchDocumentation"); return .ok }
26
- var fetchHTTPStatusCode: @Sendable (_ url: String) async throws -> HTTPStatus = { _ in XCTFail("fetchHTTPStatusCode"); return .ok }
+ var fetchDocumentation: @Sendable (_ url: URI) async throws -> Response
+ var fetchHTTPStatusCode: @Sendable (_ url: String) async throws -> HTTPStatus
27
}
28
29
extension HTTPClient: DependencyKey {
0 commit comments