Migrates to Pester5+ tests #59
@ -5,18 +5,16 @@ 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'
|
City = 'KA'
|
||||||
City = 'KA'
|
Organization = 'IT'
|
||||||
Organization = 'IT'
|
OrganizationalUnitName = ''
|
||||||
OrganizationalUnitName = ''
|
CommonName = 'MyCert'
|
||||||
CommonName = 'MyCert'
|
}
|
||||||
}
|
{ New-CSCertAttribute @AttribParams } | Should -Not -Throw
|
||||||
New-CSCertAttribute @AttribParams
|
|
||||||
} | Should -Not -Throw
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user