Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee committed Oct 20, 2024
1 parent 43bd62f commit 39dd235
Show file tree
Hide file tree
Showing 390 changed files with 2,312 additions and 1,517 deletions.
4 changes: 3 additions & 1 deletion .aider/prompts/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ Analyze the Pester test files for the dbatools PowerShell module and perform the

9. Analyze and update: /workspace/tests/--CMDNAME--.Tests.ps1

Make these changes directly in the code. If you encounter any SQL Server-specific testing scenarios that require special handling, implement the necessary adjustments while maintaining the integrity of the tests.
Make these changes directly in the code. If you encounter any SQL Server-specific testing scenarios that require special handling, implement the necessary adjustments while maintaining the integrity of the tests.

DO NOT SHORTCUT ANY TESTS TO RESERVE TOKENS!!!!!! if you need to continue after running out of tokens, i'll say continue
4 changes: 3 additions & 1 deletion tests/Add-DbaAgDatabase.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ Describe "Add-DbaAgDatabase" {
"SharedPath",
"UseLastBackup",
"AdvancedBackupParams",
"EnableException"
"EnableException",
"WhatIf",
"Confirm"
)
It "has the required parameter: <_>" -ForEach $params {
$CommandUnderTest | Should -HaveParameter $PSItem
Expand Down
4 changes: 3 additions & 1 deletion tests/Add-DbaAgListener.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ Describe "Add-DbaAgListener" {
"Dhcp",
"Passthru",
"InputObject",
"EnableException"
"EnableException",
"WhatIf",
"Confirm"
)
It "has the required parameter: <_>" -ForEach $params {
$CommandUnderTest | Should -HaveParameter $PSItem
Expand Down
6 changes: 4 additions & 2 deletions tests/Add-DbaAgReplica.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ Describe "Add-DbaAgReplica" {
"ConfigureXESession",
"SessionTimeout",
"InputObject",
"EnableException"
"EnableException",
"WhatIf",
"Confirm"
)
It "has the required parameter: <$_>" -ForEach $params {
It "has the required parameter: <_>" -ForEach $params {
$CommandUnderTest | Should -HaveParameter $PSItem
}
}
Expand Down
4 changes: 3 additions & 1 deletion tests/Add-DbaComputerCertificate.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ Describe "Add-DbaComputerCertificate" {
"Store",
"Folder",
"Flag",
"EnableException"
"EnableException",
"WhatIf",
"Confirm"
)
It "has the required parameter: <_>" -ForEach $params {
$CommandUnderTest | Should -HaveParameter $PSItem
Expand Down
6 changes: 4 additions & 2 deletions tests/Add-DbaDbRoleMember.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ Describe "Add-DbaDbRoleMember" {
"Role",
"Member",
"InputObject",
"EnableException"
"EnableException",
"WhatIf",
"Confirm"
)
It "has the required parameter: $_" -ForEach $params {
It "has the required parameter: <_>" -ForEach $params {
$CommandUnderTest | Should -HaveParameter $PSItem
}
}
Expand Down
4 changes: 3 additions & 1 deletion tests/Add-DbaExtendedProperty.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ Describe "Add-DbaExtendedProperty" {
"Name",
"Value",
"InputObject",
"EnableException"
"EnableException",
"WhatIf",
"Confirm"
)
It "has the required parameter: <_>" -ForEach $params {
$CommandUnderTest | Should -HaveParameter $PSItem
Expand Down
4 changes: 3 additions & 1 deletion tests/Add-DbaPfDataCollectorCounter.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ Describe "Add-DbaPfDataCollectorCounter" {
"Collector",
"Counter",
"InputObject",
"EnableException"
"EnableException",
"WhatIf",
"Confirm"
)
It "has the required parameter: <_>" -ForEach $params {
$CommandUnderTest | Should -HaveParameter $PSItem
Expand Down
4 changes: 3 additions & 1 deletion tests/Add-DbaRegServer.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ Describe "Add-DbaRegServer" {
"OtherParams",
"InputObject",
"ServerObject",
"EnableException"
"EnableException",
"WhatIf",
"Confirm"
)
It "has the required parameter: <_>" -ForEach $params {
$CommandUnderTest | Should -HaveParameter $PSItem
Expand Down
4 changes: 3 additions & 1 deletion tests/Add-DbaRegServerGroup.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ Describe "Add-DbaRegServerGroup" {
"Description",
"Group",
"InputObject",
"EnableException"
"EnableException",
"WhatIf",
"Confirm"
)
It "has the required parameter: <_>" -ForEach $params {
$CommandUnderTest | Should -HaveParameter $PSItem
Expand Down
4 changes: 3 additions & 1 deletion tests/Add-DbaReplArticle.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ Describe "Add-DbaReplArticle" {
"Name",
"Filter",
"CreationScriptOptions",
"EnableException"
"EnableException",
"WhatIf",
"Confirm"
)
It "has the required parameter: <_>" -ForEach $params {
$CommandUnderTest | Should -HaveParameter $PSItem
Expand Down
4 changes: 3 additions & 1 deletion tests/Add-DbaServerRoleMember.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ Describe "Add-DbaServerRoleMember" {
"Login",
"Role",
"InputObject",
"EnableException"
"EnableException",
"WhatIf",
"Confirm"
)
It "has the required parameter: <_>" -ForEach $params {
$CommandUnderTest | Should -HaveParameter $PSItem
Expand Down
Loading

0 comments on commit 39dd235

Please sign in to comment.