diff --git a/Sources/VaporTestTools/Extensions/Response tools/Response+Debug.swift b/Sources/VaporTestTools/Extensions/Response tools/Response+Debug.swift index 800b381..f12fd67 100644 --- a/Sources/VaporTestTools/Extensions/Response tools/Response+Debug.swift +++ b/Sources/VaporTestTools/Extensions/Response tools/Response+Debug.swift @@ -23,7 +23,7 @@ extension TestableProperty where TestableType: Response { if let size = element.content.container.http.body.count { print("\tSize: \(String(size))") } - if let mediaType = element.content.container.http.mediaType { + if let mediaType = element.content.container.http.contentType { print("\tMedia type: \(mediaType.description)") } if let stringContent = element.testable.contentString {