diff --git a/tests/Copy-DbaAgentProxy.Tests.ps1 b/tests/Copy-DbaAgentProxy.Tests.ps1 index 9dabbcb89e..28ac1b9bdc 100644 --- a/tests/Copy-DbaAgentProxy.Tests.ps1 +++ b/tests/Copy-DbaAgentProxy.Tests.ps1 @@ -73,7 +73,7 @@ Describe "Copy-DbaAgentProxy" -Tag "IntegrationTests" { It "Should create the proxy on the destination" { $proxyResults = Get-DbaAgentProxy -SqlInstance $TestConfig.instance3 -Proxy dbatoolsci_agentproxy - $proxyResults.Name.Count | Should -Be 1 + $proxyResults.Name | Should -Be "dbatoolsci_agentproxy" } } } diff --git a/tests/Copy-DbaDbTableData.Tests.ps1 b/tests/Copy-DbaDbTableData.Tests.ps1 index a5ace8e571..b57f1f0547 100644 --- a/tests/Copy-DbaDbTableData.Tests.ps1 +++ b/tests/Copy-DbaDbTableData.Tests.ps1 @@ -12,7 +12,7 @@ Describe "Copy-DbaDbTableData" -Tag "UnitTests" { $expected += @( 'SqlInstance', 'SqlCredential', - 'Destination', + 'Destination', 'DestinationSqlCredential', 'Database', 'DestinationDatabase', diff --git a/tests/Copy-DbaInstanceTrigger.Tests.ps1 b/tests/Copy-DbaInstanceTrigger.Tests.ps1 index a03adbb1e4..df3f93678b 100644 --- a/tests/Copy-DbaInstanceTrigger.Tests.ps1 +++ b/tests/Copy-DbaInstanceTrigger.Tests.ps1 @@ -12,7 +12,7 @@ Describe "Copy-DbaInstanceTrigger" -Tag "UnitTests" { $expected += @( 'Source', 'SourceSqlCredential', - 'Destination', + 'Destination', 'DestinationSqlCredential', 'ServerTrigger', 'ExcludeServerTrigger', @@ -41,7 +41,7 @@ Describe "Copy-DbaInstanceTrigger" -Tag "IntegrationTests" { ON ALL SERVER FOR LOGON -- Tells you it's a logon trigger AS PRINT 'hello'" - + $sourceServer = Connect-DbaInstance -SqlInstance $TestConfig.instance1 $sourceServer.Query($sql) } diff --git a/tests/Disable-DbaReplDistributor.Tests.ps1 b/tests/Disable-DbaReplDistributor.Tests.ps1 index 5c65d5a6a4..5fcb683ae5 100644 --- a/tests/Disable-DbaReplDistributor.Tests.ps1 +++ b/tests/Disable-DbaReplDistributor.Tests.ps1 @@ -14,7 +14,7 @@ Describe "Disable-DbaReplDistributor" -Tag "UnitTests" { $expected = $TestConfig.CommonParameters $expected += @( "SqlInstance", - "SqlCredential", + "SqlCredential", "Force", "EnableException", "Confirm", diff --git a/tests/Enable-DbaStartupProcedure.Tests.ps1 b/tests/Enable-DbaStartupProcedure.Tests.ps1 index f0a8430a78..28db6e14ae 100644 --- a/tests/Enable-DbaStartupProcedure.Tests.ps1 +++ b/tests/Enable-DbaStartupProcedure.Tests.ps1 @@ -13,7 +13,9 @@ Describe "Enable-DbaStartupProcedure" -Tag "UnitTests" { "SqlInstance", "SqlCredential", "StartupProcedure", - "EnableException" + "EnableException", + "WhatIf", + "Confirm" ) }