mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-19 11:03:07 +08:00
Fix breaking changes.
This commit is contained in:
@@ -17,7 +17,7 @@ namespace MQTTnet.AspNetCore.Tests
|
||||
[TestMethod]
|
||||
public async Task TestReceivePacketAsyncThrowsWhenReaderCompleted()
|
||||
{
|
||||
var serializer = new MqttPacketSerializer {};
|
||||
var serializer = new MqttPacketSerializerAdapter(MqttProtocolVersion.V311);
|
||||
var pipe = new DuplexPipeMockup();
|
||||
var connection = new DefaultConnectionContext();
|
||||
connection.Transport = pipe;
|
||||
@@ -31,7 +31,7 @@ namespace MQTTnet.AspNetCore.Tests
|
||||
[TestMethod]
|
||||
public async Task TestParallelWrites()
|
||||
{
|
||||
var serializer = new MqttPacketSerializer { };
|
||||
var serializer = new MqttPacketSerializerAdapter(MqttProtocolVersion.V311);
|
||||
var pipe = new DuplexPipeMockup();
|
||||
var connection = new DefaultConnectionContext();
|
||||
connection.Transport = pipe;
|
||||
|
||||
Reference in New Issue
Block a user