Closed jhoneill closed 3 years ago
Line 21 of the tests file.
$Uri -like "*
$top=100*" -and`
Top is no longer set to fix #363
Lines20 -24 of the test work if they're changed to this
Mock Invoke-RestMethod { return [pscustomobject]@{value=@()} } -ParameterFilter {
$Uri -like "*stateFilter=WellFormed*"
}
Steps to reproduce
Sync with trunk, and confirm
In a clean PowerShell session (I'm on 7.0.3)
Expected behavior
Success
Actual behavior
Past experience says
The format of value 'Module/ (Windows) PowerShell/7.0.3' is invalid.
happens when a call which should be mocked makes it all the way through toInvoke-RestMethod
Environment data
OS