diff --git a/Sources/VaporTestTools/Extensions/Requests/HTTPRequest+Make.swift b/Sources/VaporTestTools/Extensions/Requests/HTTPRequest+Make.swift index 4b26b51..1c711b0 100644 --- a/Sources/VaporTestTools/Extensions/Requests/HTTPRequest+Make.swift +++ b/Sources/VaporTestTools/Extensions/Requests/HTTPRequest+Make.swift @@ -17,6 +17,9 @@ extension TestableProperty where TestableType == HTTPRequest { if let headers = headers { req.headers = headers.testable.asHTTPHeaders() } + if let data = data { + req.body = HTTPBody(data) + } return req }