Skip to content

Commit

Permalink
Updates tests
Browse files Browse the repository at this point in the history
  • Loading branch information
s4cha committed Jan 30, 2017
1 parent 64fb771 commit b6345cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wsTests/mappingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class mappingTests: XCTestCase {
super.setUp()

ws = WS("http://www.mocky.io/v2/")
ws.logLevels = .callsAndResponses
ws.logLevels = .debug

ws.errorHandler = { json in
if let errorPayload = json["error"] {
Expand Down
4 changes: 2 additions & 2 deletions wsTests/wsTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class wsTests: XCTestCase {
super.setUp()
// Create webservice with base URL
ws = WS("http://jsonplaceholder.typicode.com")
ws.logLevels = .callsAndResponses
ws.logLevels = .debug
ws.postParameterEncoding = JSONEncoding.default
ws.showsNetworkActivityIndicator = false
}
Expand Down Expand Up @@ -97,7 +97,7 @@ class wsTests: XCTestCase {
func testMultipart() {
let exp = expectation(description: "")
let wsFileIO = WS("https://file.io")
wsFileIO.logLevels = .callsAndResponses
wsFileIO.logLevels = .debug
wsFileIO.postParameterEncoding = JSONEncoding.default
wsFileIO.showsNetworkActivityIndicator = false

Expand Down

0 comments on commit b6345cf

Please sign in to comment.