From 8bad0d8c34253cf67d39ed767ed8d16ce14a4db7 Mon Sep 17 00:00:00 2001 From: rogerioms Date: Wed, 26 Aug 2015 18:04:47 -0300 Subject: [PATCH] updated some stuff --- Intelipost/Intelipost.API/Infrastructure/JsonRequest/Request.cs | 1 - Intelipost/Intelipost.UnitTest/TestConfigure.cs | 2 +- Intelipost/Intelipost.UnitTest/TestQuote.cs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Intelipost/Intelipost.API/Infrastructure/JsonRequest/Request.cs b/Intelipost/Intelipost.API/Infrastructure/JsonRequest/Request.cs index 97b58b2..ca82803 100644 --- a/Intelipost/Intelipost.API/Infrastructure/JsonRequest/Request.cs +++ b/Intelipost/Intelipost.API/Infrastructure/JsonRequest/Request.cs @@ -49,7 +49,6 @@ internal void WriteStream(Model.Request request) using (var streamWriter = new StreamWriter(HttpWebRequest.GetRequestStream())) { streamWriter.Write(JsonConvert.SerializeObject(request.Content)); - } } diff --git a/Intelipost/Intelipost.UnitTest/TestConfigure.cs b/Intelipost/Intelipost.UnitTest/TestConfigure.cs index cf3bf3d..d641654 100644 --- a/Intelipost/Intelipost.UnitTest/TestConfigure.cs +++ b/Intelipost/Intelipost.UnitTest/TestConfigure.cs @@ -27,7 +27,7 @@ public TestContext TestContext [TestMethod] public void TestInitialize() { - new Configure().Initialize("bf8a1ca4fbb69a93990dba0442154e1a3efeb36f077db433a56d2fbf137f97e2", true, "C:\\InteliPost API Log\\"); + new Configure().Initialize("8c9da3f8ecd96acb2aae0cffb47e67d8fc94706a8083238a9e83ac144a4488f2", true, "C:\\InteliPost API Log\\"); } } } \ No newline at end of file diff --git a/Intelipost/Intelipost.UnitTest/TestQuote.cs b/Intelipost/Intelipost.UnitTest/TestQuote.cs index 0d1f783..515d0ac 100644 --- a/Intelipost/Intelipost.UnitTest/TestQuote.cs +++ b/Intelipost/Intelipost.UnitTest/TestQuote.cs @@ -89,7 +89,7 @@ public void TestRequest() try { - var modelResponse = new API.Quote().RequestNewQuote(modelRequest,"fc8e9d156fcfb48fbfe4c66febac48acce84e5af"); + var modelResponse = new API.Quote().RequestNewQuote(modelRequest,""); Assert.IsFalse(modelResponse.Status == "ERROR", "Houve algum problema na requisição, por favor, verifique o Log gerado para esta resposta da requisição."); }