From a4fa937780c9c80eed8cd0d3311dfd9ccc8f0c62 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Tue, 28 Jun 2022 09:59:46 +0200 Subject: [PATCH] fix typo --- src/Certificate/New-CSCertAttribute.Tests.ps1 | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/Certificate/New-CSCertAttribute.Tests.ps1 b/src/Certificate/New-CSCertAttribute.Tests.ps1 index dbd77a3..9bce109 100644 --- a/src/Certificate/New-CSCertAttribute.Tests.ps1 +++ b/src/Certificate/New-CSCertAttribute.Tests.ps1 @@ -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 } } }