mirror of https://github.com/node-red/node-red.git
Update test for generated client id
parent
abceb1185b
commit
f43d4e9465
|
@ -58,7 +58,7 @@ describe('MQTT Nodes', function () {
|
||||||
mqttBroker.should.have.property('options');
|
mqttBroker.should.have.property('options');
|
||||||
mqttBroker.options.should.have.property('clean', true);
|
mqttBroker.options.should.have.property('clean', true);
|
||||||
mqttBroker.options.should.have.property('clientId');
|
mqttBroker.options.should.have.property('clientId');
|
||||||
mqttBroker.options.clientId.should.containEql('nodered_');
|
mqttBroker.options.clientId.should.containEql('nodered');
|
||||||
mqttBroker.options.should.have.property('keepalive').type("number");
|
mqttBroker.options.should.have.property('keepalive').type("number");
|
||||||
mqttBroker.options.should.have.property('reconnectPeriod').type("number");
|
mqttBroker.options.should.have.property('reconnectPeriod').type("number");
|
||||||
//as this is not a v5 connection, ensure v5 properties are not present
|
//as this is not a v5 connection, ensure v5 properties are not present
|
||||||
|
@ -894,4 +894,4 @@ function nextTopic(topic) {
|
||||||
return (base_topic + topic + String(topicNo));
|
return (base_topic + topic + String(topicNo));
|
||||||
}
|
}
|
||||||
|
|
||||||
//#endregion HELPERS
|
//#endregion HELPERS
|
||||||
|
|
Loading…
Reference in New Issue