Skip to content

Commit

Permalink
fix dat
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee committed Oct 21, 2024
1 parent 9eff643 commit 1b90a81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/Get-DbaTopResourceUsage.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Describe "$CommandName Unit Tests" -Tag 'UnitTests' {
}

Describe "$CommandName Integration Tests" -Tags "IntegrationTests" {
$results = Get-DbaTopResourceUsage -SqlInstance $instances -Type Duration -Database master
$resultsExcluded = Get-DbaTopResourceUsage -SqlInstance $instances -Type Duration -ExcludeDatabase master
$results = Get-DbaTopResourceUsage -SqlInstance $TestConfig.instances -Type Duration -Database master
$resultsExcluded = Get-DbaTopResourceUsage -SqlInstance $TestConfig.instances -Type Duration -ExcludeDatabase master
Context "Command returns proper info" {
It "returns results" {
$results.Count -gt 0 | Should Be $true
Expand Down
4 changes: 2 additions & 2 deletions tests/Test-DbaNetworkLatency.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Describe "$CommandName Unit Tests" -Tag 'UnitTests' {

Describe "$CommandName Integration Tests" -Tags "IntegrationTests" {
Context "Command returns proper info" {
$results = $instances | Test-DbaNetworkLatency
$results = $TestConfig.instances | Test-DbaNetworkLatency

It "returns two objects" {
$results.Count | Should Be 2
}

$results = Test-DbaNetworkLatency -SqlInstance $instances
$results = Test-DbaNetworkLatency -SqlInstance $TestConfig.instances

It "executes 3 times by default" {
$results.ExecutionCount | Should Be 3, 3
Expand Down

0 comments on commit 1b90a81

Please sign in to comment.