1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

additional update of test for NR_ prefix addition

This commit is contained in:
Hiroyasu Nishiyama 2022-01-26 10:52:41 +09:00
parent 56580c4005
commit aa3f5001d5

View File

@ -212,7 +212,7 @@ describe('Subflow', function() {
currentNodes[node.id] = node;
this.on('input',function(msg) {
var flow = node._flow;
var val = flow.getSetting("NODE_NAME");
var val = flow.getSetting("NR_NODE_NAME");
node.received = val;
node.send({payload: val});
});
@ -241,7 +241,7 @@ describe('Subflow', function() {
currentNodes[node.id] = node;
this.on('input',function(msg) {
var flow = node._flow;
var val = flow.getSetting("NODE_ID");
var val = flow.getSetting("NR_NODE_ID");
node.received = val;
node.send({payload: val});
});