This commit is contained in:
OCram85 2022-06-28 09:59:46 +02:00
parent aef82de149
commit a4fa937780
1 changed files with 10 additions and 12 deletions

View File

@ -5,18 +5,16 @@ BeforeAll {
Describe "New-CSCertAttribute" {
Context "Basis Tests" {
It "TShould not throw" {
{
$AttribParams = @{
Country = 'DE'
State = 'BW'
City = 'KA'
Organization = 'IT'
OrganizationalUnitName = ''
CommonName = 'MyCert'
}
New-CSCertAttribute @AttribParams
} | Should -Not -Throw
It "Should not throw" {
$AttribParams = @{
Country = 'DE'
State = 'BW'
City = 'KA'
Organization = 'IT'
OrganizationalUnitName = ''
CommonName = 'MyCert'
}
{ New-CSCertAttribute @AttribParams } | Should -Not -Throw
}
}
}