This commit is contained in:
OCram85 2022-06-28 11:05:19 +02:00
parent a845c04851
commit e9529bd281

View File

@ -1,6 +1,14 @@
BeforeAll { BeforeAll {
$ManifestFile = (Get-Item -Path "./src/*.psd1").FullName $ManifestFile = (Get-Item -Path "./src/*.psd1").FullName
Import-Module $ManifestFile -Force Import-Module $ManifestFile -Force
$PrivateFunctions = (Get-ChildItem -Path "./src/Private/*.ps1" | Where-Object {
$_.BaseName -notmatch '.Tests'
}
).FullName
foreach ( $func in $PrivateFunctions) {
. $func
}
} }
Describe "New-CSCertificate" { Describe "New-CSCertificate" {