Browse Source

Fix unit tests

release/3.x.x
Christian Kratky 7 years ago
parent
commit
275d8d9f0b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Tests/MQTTnet.Core.Tests/MqttSubscriptionsManagerTests.cs

+ 3
- 3
Tests/MQTTnet.Core.Tests/MqttSubscriptionsManagerTests.cs View File

@@ -17,7 +17,7 @@ namespace MQTTnet.Core.Tests
var sp = new MqttSubscribePacket(); var sp = new MqttSubscribePacket();
sp.TopicFilters.Add(new TopicFilter("A/B/C", MqttQualityOfServiceLevel.AtMostOnce)); sp.TopicFilters.Add(new TopicFilter("A/B/C", MqttQualityOfServiceLevel.AtMostOnce));


sm.Subscribe(sp);
sm.Subscribe(sp, "");


var pp = new MqttPublishPacket var pp = new MqttPublishPacket
{ {
@@ -36,7 +36,7 @@ namespace MQTTnet.Core.Tests
var sp = new MqttSubscribePacket(); var sp = new MqttSubscribePacket();
sp.TopicFilters.Add(new TopicFilter("A/B/C", MqttQualityOfServiceLevel.AtMostOnce)); sp.TopicFilters.Add(new TopicFilter("A/B/C", MqttQualityOfServiceLevel.AtMostOnce));


sm.Subscribe(sp);
sm.Subscribe(sp, "");


var pp = new MqttPublishPacket var pp = new MqttPublishPacket
{ {
@@ -55,7 +55,7 @@ namespace MQTTnet.Core.Tests
var sp = new MqttSubscribePacket(); var sp = new MqttSubscribePacket();
sp.TopicFilters.Add(new TopicFilter("A/B/C", MqttQualityOfServiceLevel.AtMostOnce)); sp.TopicFilters.Add(new TopicFilter("A/B/C", MqttQualityOfServiceLevel.AtMostOnce));


sm.Subscribe(sp);
sm.Subscribe(sp, "");


var pp = new MqttPublishPacket var pp = new MqttPublishPacket
{ {


Loading…
Cancel
Save