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

Re-enable the tests for the autoUnsubscribe property

This commit is contained in:
Tim Janke 2023-02-27 12:43:04 +01:00
parent 8dcc530f44
commit 182361c176
No known key found for this signature in database
GPG Key ID: 2178F60CC2AB5033

View File

@ -53,7 +53,7 @@ describe('MQTT Nodes', function () {
mqttBroker.should.have.property('broker', BROKER_HOST); mqttBroker.should.have.property('broker', BROKER_HOST);
mqttBroker.should.have.property('port', BROKER_PORT); mqttBroker.should.have.property('port', BROKER_PORT);
mqttBroker.should.have.property('brokerurl'); 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('autoConnect', false);//Set "autoConnect:false" in brokerOptions
mqttBroker.should.have.property('options'); mqttBroker.should.have.property('options');
mqttBroker.options.should.have.property('clean', true); 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('broker', BROKER_HOST);
mqttBroker.should.have.property('port', BROKER_PORT); mqttBroker.should.have.property('port', BROKER_PORT);
mqttBroker.should.have.property('brokerurl'); mqttBroker.should.have.property('brokerurl');
// mqttBroker.should.have.property('autoUnsubscribe', true);//default: true mqttBroker.should.have.property('autoUnsubscribe', true);
mqttBroker.should.have.property('autoConnect', false);//Set "autoConnect:false" in brokerOptions mqttBroker.should.have.property('autoConnect', false); //Set "autoConnect:false" in brokerOptions
mqttBroker.should.have.property('options'); mqttBroker.should.have.property('options');
mqttBroker.options.should.have.property('clean', false); mqttBroker.options.should.have.property('clean', false);
mqttBroker.options.should.have.property('clientId', 'clientid'); mqttBroker.options.should.have.property('clientId', 'clientid');