From 43bd62fae8d60c9ea05f1b368d7b179ca61f0157 Mon Sep 17 00:00:00 2001 From: Chrissy LeMaire Date: Sun, 20 Oct 2024 05:35:23 +0200 Subject: [PATCH] sure --- tests/Add-DbaRegServer.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Add-DbaRegServer.Tests.ps1 b/tests/Add-DbaRegServer.Tests.ps1 index 051d9f02eb..43149df4ef 100644 --- a/tests/Add-DbaRegServer.Tests.ps1 +++ b/tests/Add-DbaRegServer.Tests.ps1 @@ -53,7 +53,7 @@ Describe "Add-DbaRegServer" { } It "adds a registered server with extended properties" { - $results2 = Add-DbaRegServer -SqlInstance $global:instance1 -ServerName $RegsrvName -Name $srvName -Group $groupobject -Description $regSrvDesc + $results2 = Add-DbaRegServer -SqlInstance $global:instance1 -ServerName $regSrvName -Name $srvName -Group $groupobject -Description $regSrvDesc $results2.ServerName | Should -Be $regSrvName $results2.Description | Should -Be $regSrvDesc $results2.Name | Should -Be $srvName