From b6345cf64e4cf2f658c070339a3cdea1002902a6 Mon Sep 17 00:00:00 2001 From: Sacha Durand Saint Omer Date: Mon, 30 Jan 2017 11:34:18 +0100 Subject: [PATCH] Updates tests --- wsTests/mappingTests.swift | 2 +- wsTests/wsTests.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wsTests/mappingTests.swift b/wsTests/mappingTests.swift index ac10b83..36bfb0c 100644 --- a/wsTests/mappingTests.swift +++ b/wsTests/mappingTests.swift @@ -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"] { diff --git a/wsTests/wsTests.swift b/wsTests/wsTests.swift index 5a4f5b3..89f073f 100644 --- a/wsTests/wsTests.swift +++ b/wsTests/wsTests.swift @@ -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 } @@ -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