Fix broken unit tests.

This commit is contained in:
Christian Kratky
2020-03-26 22:33:30 +01:00
parent 561474c572
commit 0653b89701
5 changed files with 68 additions and 74 deletions
@@ -7,6 +7,7 @@ namespace MQTTnet.Implementations
{
public static class PlatformAbstractionLayer
{
// TODO: Consider creating primitives like "MqttNetSocket" which will wrap all required methods and do the platform stuff.
public static async Task<Socket> AcceptAsync(Socket socket)
{
#if NET452 || NET461
@@ -90,7 +91,7 @@ namespace MQTTnet.Implementations
public static Task CompletedTask
{
get
get
{
#if NET452
return Task.FromResult(0);