Skip to content

Commit 3f1164a

Browse files
Ah, this was the wrong branch, revert
This reverts commit 9fe7433.
1 parent 9fe7433 commit 3f1164a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/Backup-DbaDbCertificate.Tests.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,8 @@ Describe $CommandName -Tag IntegrationTests {
177177
}
178178

179179
It "Returns results with proper data" {
180-
$results | Should -BeGreaterOrEqual 3
181-
$results.Certificate | Should -Contain $cert1.Name
182-
$results.Certificate | Should -Contain $cert2.Name
183-
$results.Certificate | Should -Contain $cert3.Name
180+
$results | Should -HaveCount 3
181+
$results.Certificate | Should -Be $cert1.Name, $cert2.Name, $cert3.Name
184182
}
185183
}
186184
}

0 commit comments

Comments
 (0)