Skip to content

Commit 92ad030

Browse files
committed
Partially harmonize duplicated module code
1 parent 8aa2157 commit 92ad030

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ BeforeAll {
88

99
Describe "Protect-CFCell" {
1010
BeforeEach {
11+
Mock -ModuleName BOSH.CFCell Write-Log { }
12+
1113
$oldWinRMStatus = (Get-Service winrm).Status
1214
$oldWinRMStartMode = ( Get-Service winrm ).StartType
1315

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ Describe "Install-CFFeatures2016" {
144144

145145
Assert-MockCalled Write-Log -Times 1 -Scope It -ModuleName BOSH.CFCell -ParameterFilter { $Message -eq "Installed CloudFoundry Cell Windows Features" }
146146
}
147-
148147
}
149148

150149
Describe "Remove-DockerPackage" {

0 commit comments

Comments
 (0)