From c37dd193344f8705333a3228326f92aa5b6dd6bc Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Fri, 29 Mar 2019 19:27:24 -0400 Subject: [PATCH] Delete Get-ZertoUnprotectedVm.Test.ps1 --- Tests/Public/Get-ZertoUnprotectedVm.Test.ps1 | 23 -------------------- 1 file changed, 23 deletions(-) delete mode 100644 Tests/Public/Get-ZertoUnprotectedVm.Test.ps1 diff --git a/Tests/Public/Get-ZertoUnprotectedVm.Test.ps1 b/Tests/Public/Get-ZertoUnprotectedVm.Test.ps1 deleted file mode 100644 index 2d8dbc5..0000000 --- a/Tests/Public/Get-ZertoUnprotectedVm.Test.ps1 +++ /dev/null @@ -1,23 +0,0 @@ -$moduleFileName = "ZertoApiWrapper.psm1" -$filePath = (Split-Path -Parent $MyInvocation.MyCommand.Path) -replace 'Tests', 'ZertoApiWrapper' -$fileName = (Split-Path -Leaf $MyInvocation.MyCommand.Path ) -replace '.Tests.', '.' -$commandName = $fileName -replace '.ps1', '' -$modulePath = $filePath -replace "Public", "" -Import-Module $modulePath\$moduleFileName -Force - -$userName = "zerto\build" -$password = ConvertTo-SecureString -String "ZertoBuild" -AsPlainText -Force -$credential = New-Object -TypeName System.Management.Automation.PSCredential($userName, $password) - -# $credential = Import-Clixml -Path C:\ZertoScripts\Creds.xml -$zertoServer = "192.168.1.100" -$zertoPort = "7669" - -Describe "$commandName" { - it "file should exist" { - "$filePath\$fileName" | should exist - } - it "module should have a function called $commandName" { - get-command $commandName | should be $true - } -} \ No newline at end of file