http node fix tests

This commit is contained in:
Steve-Mcl 2024-03-17 17:11:29 +00:00
parent de27968e4e
commit 7bdb8db5ff

View File

@ -1789,7 +1789,9 @@ describe('HTTP Request Node', function() {
/* */
it('should use http_proxy when environment variable is invalid', function(done) {
// disabled with the introduction of proxyHelper. It is the responsibility of the user to enter a
// valid proxy URL
it.skip('should use http_proxy when environment variable is invalid', function(done) {
var flow = [{id:"n1",type:"http request",wires:[["n2"]],method:"POST",ret:"obj",url:getTestURL('/postInspect')},
{id:"n2", type:"helper"}];
deleteProxySetting();
@ -1908,7 +1910,9 @@ describe('HTTP Request Node', function() {
});
/* */
it('should not use http-proxy-config when invalid url is specified', function(done) {
// disabled with the introduction of proxyHelper. It is the responsibility of the user to enter a
// valid proxy URL
it.skip('should not use http-proxy-config when invalid url is specified', function(done) {
var flow = [
{id:"n1",type:"http request",wires:[["n2"]],method:"POST",ret:"obj",url:getTestURL('/postInspect'),proxy:"n3"},
{id:"n2", type:"helper"},