mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-30 15:13:19 +00:00
Update Pester Syntax from V3 to V4 (V5 won't support the old version)
This commit is contained in:
@@ -30,7 +30,7 @@ function Test-APIReadXls {
|
||||
|
||||
`$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