diff --git a/src/Certificate/New-CSCertificate.Tests.ps1 b/src/Certificate/New-CSCertificate.Tests.ps1 index d42d514..250612f 100644 --- a/src/Certificate/New-CSCertificate.Tests.ps1 +++ b/src/Certificate/New-CSCertificate.Tests.ps1 @@ -23,7 +23,7 @@ Describe "New-CSCertificate" { CommonName = 'MyCert' } $CertAttribs = @{ - CRTAttribute = $attribs + CRTAttribute = New-CSCertAttribute @attribs KeyName = Join-Path -Path (Get-TempDir) -ChildPath '/foo.key' CertName = Join-Path -Path (Get-TempDir) -ChildPath '/cert.pfx' }