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:
parent
8dcc530f44
commit
182361c176
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user