From 9eff643066bf4ac92c9b06e88ae1aca0755b71c3 Mon Sep 17 00:00:00 2001 From: Chrissy LeMaire Date: Mon, 21 Oct 2024 06:59:11 +0200 Subject: [PATCH] fix that --- tests/Connect-DbaInstance.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Connect-DbaInstance.Tests.ps1 b/tests/Connect-DbaInstance.Tests.ps1 index c03cc67144..0df839f8d3 100644 --- a/tests/Connect-DbaInstance.Tests.ps1 +++ b/tests/Connect-DbaInstance.Tests.ps1 @@ -107,7 +107,7 @@ Describe "$commandname Integration Tests" -Tags "IntegrationTests" { Context "connection is properly made using a connection string" { BeforeAll { - $server = Connect-DbaInstance -SqlInstance "Data Source=$TestConfig.instance1;Initial Catalog=tempdb;Integrated Security=True" + $server = Connect-DbaInstance -SqlInstance "Data Source=$($TestConfig.instance1);Initial Catalog=tempdb;Integrated Security=True" } It "returns the proper name" {