Skip to content

Commit 18ac238

Browse files
committed
Powershell: don't test deleted function
1 parent b3187f1 commit 18ac238

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

modules/BOSH.CFCell/BOSH.CFCell.Tests.ps1

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,6 @@ Describe "Protect-CFCell" {
6060
get-firewall "private" | Should -Be "private,Block,Allow"
6161
get-firewall "domain" | Should -Be "domain,Block,Allow"
6262
}
63-
64-
It "does not call 'Disable-WindowsDefenderFeatures'" {
65-
Mock -ModuleName BOSH.CFCell Disable-WindowsDefenderFeatures { }
66-
67-
{ Protect-CFCell -IaaS "ignored" } | Should -Not -Throw
68-
69-
Should -Not -Invoke -ModuleName BOSH.CFCell -CommandName Disable-WindowsDefenderFeatures
70-
}
7163
}
7264

7365
Describe "Install-CFFeatures" {

stembuild/modules/BOSH.CFCell/BOSH.CFCell.Tests.ps1

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,6 @@ Describe "Protect-CFCell" {
6060
get-firewall "private" | Should -Be "private,Block,Allow"
6161
get-firewall "domain" | Should -Be "domain,Block,Allow"
6262
}
63-
64-
It "does not call 'Disable-WindowsDefenderFeatures'" {
65-
Mock -ModuleName BOSH.CFCell Disable-WindowsDefenderFeatures { }
66-
67-
{ Protect-CFCell -IaaS "ignored" } | Should -Not -Throw
68-
69-
Should -Not -Invoke -ModuleName BOSH.CFCell -CommandName Disable-WindowsDefenderFeatures
70-
}
7163
}
7264

7365
Describe "Install-CFFeatures" {

0 commit comments

Comments
 (0)