Skip to content

Commit 96aefed

Browse files
Fix test for Invoke-DbaDiagnosticQuery (#10352)
1 parent b32aa4d commit 96aefed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Invoke-DbaDiagnosticQuery.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Describe $CommandName -Tag IntegrationTests {
7878
@($results).Count | Should -BeGreaterThan 10
7979
}
8080
It "works with specific database provided" {
81-
$results = Invoke-DbaDiagnosticQuery -SqlInstance $TestConfig.InstanceSingle -QueryName 'File Sizes and Space', 'Log Space Usage' -Database $database2, $database3
81+
$results = Invoke-DbaDiagnosticQuery -SqlInstance $TestConfig.InstanceSingle -QueryName 'File Sizes and Space', 'Database-scoped Configurations' -Database $database2, $database3
8282
@($results | Where-Object { $_.Database -eq $Database }).Count | Should -Be 0
8383
@($results | Where-Object { $_.Database -eq $Database2 }).Count | Should -Be 2
8484
@($results | Where-Object { $_.Database -eq $Database3 }).Count | Should -Be 2

0 commit comments

Comments
 (0)