Skip to content

Commit c9b4774

Browse files
committed
revert test changes
1 parent f904cd6 commit c9b4774

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Set-DbaNetworkCertificate.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Describe $CommandName -Tag IntegrationTests {
5252
$PSDefaultParameterValues.Remove("*-Dba*:EnableException")
5353
}
5454
It "Warns that no suitable certificate was found" {
55-
$result = Set-DbaNetworkCertificate -SqlInstance $TestConfig.InstanceRestart -RestartService -WarningVariable WarnVar
55+
$result = Set-DbaNetworkCertificate -SqlInstance $TestConfig.InstanceRestart -RestartService -WarningAction SilentlyContinue
5656
$result | Should -BeNullOrEmpty
5757
$WarnVar | Should -Match "No suitable certificate found"
5858
}

0 commit comments

Comments
 (0)