diff --git a/Meade.net.Telescope.UnitTests/TelescopeUnitTests.cs b/Meade.net.Telescope.UnitTests/TelescopeUnitTests.cs index 6195dc9..2f01bbb 100644 --- a/Meade.net.Telescope.UnitTests/TelescopeUnitTests.cs +++ b/Meade.net.Telescope.UnitTests/TelescopeUnitTests.cs @@ -1027,7 +1027,7 @@ namespace Meade.net.Telescope.UnitTests _connectionInfo.SameDevice = 2; - _telescope.Connected = true; + ConnectTelescope(); _sharedResourcesWrapperMock.Verify(x => x.SendChar("P", false), Times.Never); _sharedResourcesWrapperMock.Verify(x => x.IsLongFormat, Times.Once);