From 0066a6ebed7741f981ea74dfd969bce3fa6ad3ee Mon Sep 17 00:00:00 2001 From: Colin Dawson Date: Tue, 28 Jun 2022 17:45:55 +0100 Subject: [PATCH] Fixed broken unit test --- Meade.net.Telescope.UnitTests/TelescopeUnitTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);