From efcdc720b5c9c1c4eee50c85743157eeabe48652 Mon Sep 17 00:00:00 2001 From: Ariel Moisis Date: Fri, 22 Nov 2019 11:43:22 +1100 Subject: [PATCH 1/2] update to Get-AutodiscoverVirtualDirectoryInternal fixes #403 --- Tests/Unit/MSFT_xExchAutodiscoverVirtualDirectory.tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Unit/MSFT_xExchAutodiscoverVirtualDirectory.tests.ps1 b/Tests/Unit/MSFT_xExchAutodiscoverVirtualDirectory.tests.ps1 index 61541edd..d4e15579 100644 --- a/Tests/Unit/MSFT_xExchAutodiscoverVirtualDirectory.tests.ps1 +++ b/Tests/Unit/MSFT_xExchAutodiscoverVirtualDirectory.tests.ps1 @@ -109,7 +109,7 @@ try Context 'When Test-TargetResource is called' { Mock -CommandName Get-RemoteExchangeSession -Verifiable - It 'Should return False when Get-UMCallRouterSettings returns null' { + It 'Should return False when Get-AutodiscoverVirtualDirectoryInternal returns null' { Mock -CommandName Get-AutodiscoverVirtualDirectoryInternal -Verifiable Test-TargetResource @commonTargetResourceParams -ErrorAction SilentlyContinue | Should -Be $false From 25e19948144954b6222d2616dfaee9c09f4927de Mon Sep 17 00:00:00 2001 From: Ariel Moisis Date: Fri, 22 Nov 2019 11:47:58 +1100 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b71da4d2..3f45851f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Added xExchAddressList ressource - Added xExchSendConnector resource - Added additional parameters to the MSFT_xExchImapSettings resource +- Fixed unit test it statement for MSFT_xExchAutodiscoverVirtualDirectory\Test-TargetResource ## 1.30.0.0