diff --git a/AstarteDeviceSDKCSharpE2E.Tests/AstarteDeviceTest.cs b/AstarteDeviceSDKCSharpE2E.Tests/AstarteDeviceTest.cs index 9e03888..b75f047 100644 --- a/AstarteDeviceSDKCSharpE2E.Tests/AstarteDeviceTest.cs +++ b/AstarteDeviceSDKCSharpE2E.Tests/AstarteDeviceTest.cs @@ -70,11 +70,11 @@ public void ConnectDeviceToAstarte() /// Test disconnect device from Astarte /// [Fact, TestPriority(9)] - public void DisconnectDeviceFromAstarte() + public async Task DisconnectDeviceFromAstarte() { Console.WriteLine("Test disconnect device to Astarte"); - astarteDevice.Disconnect(); + await astarteDevice.Disconnect(); Assert.False(astarteDevice.IsConnected()); } }