From 1dd9c5472982b14eb5012942370e86a13893e253 Mon Sep 17 00:00:00 2001 From: kkytaiev Date: Mon, 25 Mar 2024 17:37:25 +0200 Subject: [PATCH] #185 Correct Get-IshSetting test regarding Settings field count change The number of fields has changed from 13 to 12 --- .../Trisoft.ISHRemote/Cmdlets/Settings/GetIshSetting.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ISHRemote/Trisoft.ISHRemote/Cmdlets/Settings/GetIshSetting.Tests.ps1 b/Source/ISHRemote/Trisoft.ISHRemote/Cmdlets/Settings/GetIshSetting.Tests.ps1 index 7d3fc28a..ac498c1d 100644 --- a/Source/ISHRemote/Trisoft.ISHRemote/Cmdlets/Settings/GetIshSetting.Tests.ps1 +++ b/Source/ISHRemote/Trisoft.ISHRemote/Cmdlets/Settings/GetIshSetting.Tests.ps1 @@ -84,7 +84,7 @@ Describe "Get-IshSetting" -Tags "Read" { $ishFields.GetType().Name | Should -BeExactly "Object[]" if((([Version]$ishSession.ServerVersion).Major -eq 15 -and ([Version]$ishSession.ServerVersion).Minor -ge 1) -or ([Version]$ishSession.ServerVersion).Major -ge 16) { - $ishFields.Length | Should -Be 13 + $ishFields.Length | Should -Be 12 } else {