Skip to content

Commit 24eb2dd

Browse files
committed
fix test
1 parent 6b004ac commit 24eb2dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Get-DbaNetworkEncryption.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ Describe $CommandName -Tag IntegrationTests {
2929
Context "Certificate retrieval" {
3030
BeforeAll {
3131
# Attempt to retrieve the certificate - not all environments have TLS configured
32-
$result = Get-DbaNetworkEncryption -SqlInstance $TestConfig.instance1 -WarningAction SilentlyContinue
32+
$result = Get-DbaNetworkEncryption -SqlInstance $TestConfig.InstanceSingle -WarningAction SilentlyContinue
3333
}
3434

3535
It "Should not throw an error when connecting" {
3636
# If result is null it means no certificate is configured, which is a valid state
3737
# We just verify the command runs without throwing a terminating error
38-
{ Get-DbaNetworkEncryption -SqlInstance $TestConfig.instance1 -WarningAction SilentlyContinue } | Should -Not -Throw
38+
{ Get-DbaNetworkEncryption -SqlInstance $TestConfig.InstanceSingle -WarningAction SilentlyContinue } | Should -Not -Throw
3939
}
4040

4141
It "Should return certificate with expected properties when TLS is configured" {

0 commit comments

Comments
 (0)