mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-14 05:39:11 +00:00
12 lines
361 B
PowerShell
12 lines
361 B
PowerShell
Describe "ConvertTo-SecureString" -Tags "CI" {
|
|
|
|
Context "Checking return types of ConvertTo-SecureString" {
|
|
|
|
It "Should return System.Security.SecureString after converting plaintext variable"{
|
|
$PesterTestConvert = (ConvertTo-SecureString "plaintextpester" -AsPlainText -force)
|
|
($PesterTestConvert).GetType() | Should Be securestring
|
|
|
|
}
|
|
}
|
|
}
|