mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 15:34:26 +01:00
Update test for generated client id
This commit is contained in:
@@ -58,7 +58,7 @@ describe('MQTT Nodes', function () {
|
||||
mqttBroker.should.have.property('options');
|
||||
mqttBroker.options.should.have.property('clean', true);
|
||||
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('reconnectPeriod').type("number");
|
||||
//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));
|
||||
}
|
||||
|
||||
//#endregion HELPERS
|
||||
//#endregion HELPERS
|
||||
|
||||
Reference in New Issue
Block a user