Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee committed Oct 27, 2024
1 parent f341a35 commit 6ae5f10
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/Copy-DbaAgentProxy.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
2 changes: 1 addition & 1 deletion tests/Copy-DbaDbTableData.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Describe "Copy-DbaDbTableData" -Tag "UnitTests" {
$expected += @(
'SqlInstance',
'SqlCredential',
'Destination',
'Destination',
'DestinationSqlCredential',
'Database',
'DestinationDatabase',
Expand Down
4 changes: 2 additions & 2 deletions tests/Copy-DbaInstanceTrigger.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Describe "Copy-DbaInstanceTrigger" -Tag "UnitTests" {
$expected += @(
'Source',
'SourceSqlCredential',
'Destination',
'Destination',
'DestinationSqlCredential',
'ServerTrigger',
'ExcludeServerTrigger',
Expand Down Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Disable-DbaReplDistributor.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Describe "Disable-DbaReplDistributor" -Tag "UnitTests" {
$expected = $TestConfig.CommonParameters
$expected += @(
"SqlInstance",
"SqlCredential",
"SqlCredential",
"Force",
"EnableException",
"Confirm",
Expand Down
4 changes: 3 additions & 1 deletion tests/Enable-DbaStartupProcedure.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ Describe "Enable-DbaStartupProcedure" -Tag "UnitTests" {
"SqlInstance",
"SqlCredential",
"StartupProcedure",
"EnableException"
"EnableException",
"WhatIf",
"Confirm"
)
}

Expand Down

0 comments on commit 6ae5f10

Please sign in to comment.