Skip to content

Commit

Permalink
Merge pull request #1 from damirstuhec/master
Browse files Browse the repository at this point in the history
Fixes deprecated `mediaType` property name reference
  • Loading branch information
rafiki270 authored Apr 23, 2018
2 parents 2b8aa26 + 4d60b15 commit e07ce26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e07ce26

Please sign in to comment.