mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-10 13:23:29 +00:00
Update Pester Syntax from V3 to V4 (V5 won't support the old version)
This commit is contained in:
@@ -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)'
|
||||
}
|
||||
|
||||
"@
|
||||
|
||||
Reference in New Issue
Block a user