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 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