test/Disable-CVBackupServer.Tests.ps1
if(($null -eq $TestName) -or ($TestName -contains 'Disable-CVBackupServer')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) $TestRecordingFile = Join-Path $PSScriptRoot 'Disable-CVBackupServer.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File $currentPath = Split-Path -Path $currentPath -Parent } . ($mockingPath | Select-Object -First 1).FullName } Describe 'Disable-CVBackupServer' { It 'Disable' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } It 'DisableViaIdentity' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } } |