From 182361c176257f5135528d8d086fd55d3be0a509 Mon Sep 17 00:00:00 2001 From: Tim Janke Date: Mon, 27 Feb 2023 12:43:04 +0100 Subject: [PATCH] Re-enable the tests for the autoUnsubscribe property --- test/nodes/core/network/21-mqtt_spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/nodes/core/network/21-mqtt_spec.js b/test/nodes/core/network/21-mqtt_spec.js index f97442b50..16c38d2e5 100644 --- a/test/nodes/core/network/21-mqtt_spec.js +++ b/test/nodes/core/network/21-mqtt_spec.js @@ -53,7 +53,7 @@ describe('MQTT Nodes', function () { mqttBroker.should.have.property('broker', BROKER_HOST); mqttBroker.should.have.property('port', BROKER_PORT); mqttBroker.should.have.property('brokerurl'); - // mqttBroker.should.have.property('autoUnsubscribe', true);//default: true + mqttBroker.should.have.property('autoUnsubscribe', true); //default: true mqttBroker.should.have.property('autoConnect', false);//Set "autoConnect:false" in brokerOptions mqttBroker.should.have.property('options'); mqttBroker.options.should.have.property('clean', true); @@ -96,8 +96,8 @@ describe('MQTT Nodes', function () { mqttBroker.should.have.property('broker', BROKER_HOST); mqttBroker.should.have.property('port', BROKER_PORT); mqttBroker.should.have.property('brokerurl'); - // mqttBroker.should.have.property('autoUnsubscribe', true);//default: true - mqttBroker.should.have.property('autoConnect', false);//Set "autoConnect:false" in brokerOptions + mqttBroker.should.have.property('autoUnsubscribe', true); + mqttBroker.should.have.property('autoConnect', false); //Set "autoConnect:false" in brokerOptions mqttBroker.should.have.property('options'); mqttBroker.options.should.have.property('clean', false); mqttBroker.options.should.have.property('clientId', 'clientid');