File tree 1 file changed +2
-2
lines changed
Tests/OpenAPIRuntimeTests/Interface
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ final class Test_ErrorHandlingMiddlewareTests: XCTestCase {
43
43
)
44
44
XCTAssertEqual ( response. status, . badGateway)
45
45
XCTAssertEqual ( response. headerFields, [ . contentType: " application/json " ] )
46
- XCTAssertEqual ( responseBody, TEST_HTTP_BODY )
46
+ XCTAssertEqual ( responseBody, testHTTPBody )
47
47
}
48
48
49
49
func testError_conformingToProtocolWithoutAllValues_convertedToResponse( ) async throws {
@@ -132,7 +132,7 @@ struct MockErrorMiddleware_Next: ServerMiddleware {
132
132
struct ConvertibleError : Error , HTTPResponseConvertible {
133
133
var httpStatus : HTTPTypes . HTTPResponse . Status = HTTPResponse . Status. badGateway
134
134
var httpHeaderFields : HTTPFields = [ . contentType: " application/json " ]
135
- var httpBody : OpenAPIRuntime . HTTPBody ? = TEST_HTTP_BODY
135
+ var httpBody : OpenAPIRuntime . HTTPBody ? = testHTTPBody
136
136
}
137
137
138
138
struct PartialConvertibleError : Error , HTTPResponseConvertible {
You can’t perform that action at this time.
0 commit comments