Update Pester Syntax from V3 to V4 (V5 won't support the old version)

This commit is contained in:
jhoneill
2019-12-29 17:18:24 +00:00
parent 08fbfc35a3
commit 7bfb28d10f
23 changed files with 1079 additions and 1079 deletions

View File

@@ -29,7 +29,7 @@ function ConvertTo-PesterTest {
`$target.psobject.Properties.name | ForEach-Object {`$p=@{}} {`$p.`$_=`$(`$target.`$_)}
Invoke-RestMethod @p | Should Be '$($record.ExpectedResult)'
Invoke-RestMethod @p | Should -Be '$($record.ExpectedResult)'
}
"@