Migrates to Pester5+ tests #59

Merged
OCram85 merged 47 commits from Pester5 into master 2022-07-14 13:37:13 +02:00
Showing only changes of commit a4fa937780 - Show all commits

View File

@ -5,8 +5,7 @@ BeforeAll {
Describe "New-CSCertAttribute" { Describe "New-CSCertAttribute" {
Context "Basis Tests" { Context "Basis Tests" {
It "TShould not throw" { It "Should not throw" {
{
$AttribParams = @{ $AttribParams = @{
Country = 'DE' Country = 'DE'
State = 'BW' State = 'BW'
@ -15,8 +14,7 @@ Describe "New-CSCertAttribute" {
OrganizationalUnitName = '' OrganizationalUnitName = ''
CommonName = 'MyCert' CommonName = 'MyCert'
} }
New-CSCertAttribute @AttribParams { New-CSCertAttribute @AttribParams } | Should -Not -Throw
} | Should -Not -Throw
} }
} }
} }