Skip to content

Commit

Permalink
fixing remaining errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rafiki270 committed Dec 20, 2020
1 parent e93c058 commit 906945a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Foundation
@testable import Vapor
import Vapor


extension TestableProperty where TestableType: Response {
Expand All @@ -20,10 +20,10 @@ extension TestableProperty where TestableType: Response {
print("\t\(header.name.description) = \(header.value)")
}
print("Content:")
if let size = element.content.container.http.body.count {
if let size = element.testable.contentSize {
print("\tSize: \(String(size))")
}
if let mediaType = element.content.container.http.contentType {
if let mediaType = element.http.contentType {
print("\tMedia type: \(mediaType.description)")
}
if let stringContent = element.testable.contentString {
Expand Down
25 changes: 0 additions & 25 deletions Sources/VaporTestTools/Extensions/Services/Services+Testing.swift

This file was deleted.

0 comments on commit 906945a

Please sign in to comment.