bbebf2f76a
- Pester source code moved to `test/Pester`, deleted `ext-src`. - Pester tests (.ps1 files) moved to `test/powershell` - xUnit tests (.cs files) moved to `test/csharp` - Third-party script test moved to `test/shebang`
11 lines
365 B
PowerShell
11 lines
365 B
PowerShell
Describe "ConvertTo-SecureString" {
|
|
|
|
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
|
|
|
|
}
|
|
}
|
|
}
|