From 4d60b155486ae4e98be3ccd562b9d0ffed02ec66 Mon Sep 17 00:00:00 2001 From: Damir Stuhec Date: Mon, 23 Apr 2018 12:40:09 +0200 Subject: [PATCH] Update Response+Debug.swift --- .../Extensions/Response tools/Response+Debug.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {