mirror of
https://github.com/node-red/node-red
synced 2024-11-22 07:58:04 +00:00
Make port number dynamic in test
This commit is contained in:
parent
30956b5441
commit
58b951e134
@ -2322,7 +2322,7 @@ describe('HTTP Request Node', function() {
|
||||
var n2 = helper.getNode("n2");
|
||||
n2.on('input', function(msg) {
|
||||
try{
|
||||
msg.payload.should.equal('RequestError: Parse Error: Missing expected CR after header value : http://localhost:10234/')
|
||||
msg.payload.should.equal(`RequestError: Parse Error: Missing expected CR after header value : http://localhost:${port}/`)
|
||||
done()
|
||||
} catch (err) {
|
||||
done(err)
|
||||
|
Loading…
Reference in New Issue
Block a user