Forcing the disconnect to make sure that the tests work as expected.

This commit is contained in:
2019-10-22 21:40:45 +01:00
parent dff7bce6b0
commit ba0ae056ea
@@ -255,6 +255,8 @@ namespace Meade.net.UnitTests
Assert.That(connectionResult.SameDevice, Is.EqualTo(1));
Assert.That(SharedResources.ProductName, Is.EqualTo(TelescopeList.LX200CLASSIC));
SharedResources.Disconnect(deviceId, String.Empty);
}
[Test]
@@ -300,6 +302,8 @@ namespace Meade.net.UnitTests
Assert.That(connectionResult.SameDevice, Is.EqualTo(1));
Assert.That(SharedResources.ProductName, Is.EqualTo(TelescopeList.Autostar497));
Assert.That(SharedResources.FirmwareVersion, Is.EqualTo(TelescopeList.Autostar497_43Eg));
SharedResources.Disconnect(deviceId, String.Empty);
}
}
}