diff --git a/apps/tests/http-tests.ts b/apps/tests/http-tests.ts index 4e9678e3f..a3c0dd905 100644 --- a/apps/tests/http-tests.ts +++ b/apps/tests/http-tests.ts @@ -374,9 +374,11 @@ export var test_request_jsonAsContentSentAndReceivedProperly = function (done) { headers: { "Content-Type": "application/json" }, content: JSON.stringify({ MyVariableOne: "ValueOne", MyVariableTwo: "ValueTwo" }) }).then(function (response) { + // result = response.content.toJSON(); + // result = response.content.toJSON(); - // - try { + try + { TKUnit.assert(result["json"]["MyVariableOne"] === "ValueOne" && result["json"]["MyVariableTwo"] === "ValueTwo", "Content not sent/received properly!"); done(null); }