From 4ac951607bc7ba06d4c58efa656b4aed8d6eda29 Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Mon, 19 Oct 2020 18:43:13 -0400 Subject: [PATCH] Add required Mock --- Tests/Public/Export-ZertoVpg.Tests.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tests/Public/Export-ZertoVpg.Tests.ps1 b/Tests/Public/Export-ZertoVpg.Tests.ps1 index 957092a..0e5ec77 100644 --- a/Tests/Public/Export-ZertoVpg.Tests.ps1 +++ b/Tests/Public/Export-ZertoVpg.Tests.ps1 @@ -46,6 +46,10 @@ Describe $global:function -Tag 'Unit', 'Source', 'Built' { return "1024d377-afb8-4880-82f0-96eeff413ffd" } + Mock -ModuleName ZertoApiWrapper -CommandName Remove-ZertoVpgSettingsIdentifier { + return $null + } + Mock -ModuleName ZertoApiWrapper -CommandName Get-ZertoVpgSetting { $returnObj = @{ Backup = $null