зеркало из https://github.com/microsoft/PFE.git
Tried returning MockPassword
This commit is contained in:
Родитель
d27f777ff1
Коммит
45af0ce6a3
|
@ -35,7 +35,7 @@ Describe -Name $Global:TestHelper.DescribeHeader -Fixture {
|
||||||
}
|
}
|
||||||
|
|
||||||
Mock -CommandName ConvertTo-SecureString -MockWith {
|
Mock -CommandName ConvertTo-SecureString -MockWith {
|
||||||
return $mockCredential.Password
|
return $mockPassword
|
||||||
}
|
}
|
||||||
|
|
||||||
Context -Name "When the User Info List is Found" -Fixture {
|
Context -Name "When the User Info List is Found" -Fixture {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче