This commit is contained in:
OCram85 2022-06-28 09:59:46 +02:00
parent aef82de149
commit a4fa937780

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
} }
} }
} }