From f43d4e946523a797e7489deb46fed9ca78b70c6d Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 6 Jun 2025 11:45:17 +0100 Subject: [PATCH] Update test for generated client id --- test/nodes/core/network/21-mqtt_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/nodes/core/network/21-mqtt_spec.js b/test/nodes/core/network/21-mqtt_spec.js index 16c38d2e5..0075831c9 100644 --- a/test/nodes/core/network/21-mqtt_spec.js +++ b/test/nodes/core/network/21-mqtt_spec.js @@ -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 \ No newline at end of file +//#endregion HELPERS