From 20a63a3292530c01cfcd799b4adcbcadcbbf48c1 Mon Sep 17 00:00:00 2001 From: Steve-Mcl Date: Tue, 29 Nov 2022 13:50:39 +0000 Subject: [PATCH] fix tests after adding 'set by msg.payloadHandling' --- test/nodes/core/network/21-httprequest_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/nodes/core/network/21-httprequest_spec.js b/test/nodes/core/network/21-httprequest_spec.js index 412ef105a..2b21feb4a 100644 --- a/test/nodes/core/network/21-httprequest_spec.js +++ b/test/nodes/core/network/21-httprequest_spec.js @@ -1161,7 +1161,7 @@ describe('HTTP Request Node', function() { }); it('should allow the message to specify that the payload be append to querystring for a GET request', function(done) { - var flow = [{id:"n1",type:"http request",wires:[["n2"]],method:"use",ret:"obj",url:getTestURL('/getQueryParams')}, + var flow = [{id:"n1",type:"http request",wires:[["n2"]],method:"use",paytoqs:"setby",ret:"obj",url:getTestURL('/getQueryParams')}, {id:"n2", type:"helper"}]; helper.load(httpRequestNode, flow, function() { var n1 = helper.getNode("n1"); @@ -1185,7 +1185,7 @@ describe('HTTP Request Node', function() { it('should allow the message to specify that the payload be sent in the body for a GET request', function(done) { - var flow = [{id:"n1",type:"http request",wires:[["n2"]],method:"use",ret:"obj",url:getTestURL('/getBodyParams')}, + var flow = [{id:"n1",type:"http request",wires:[["n2"]],method:"use",paytoqs:"setby",ret:"obj",url:getTestURL('/getBodyParams')}, {id:"n2", type:"helper"}]; helper.load(httpRequestNode, flow, function() { var n1 = helper.getNode("n1");