Skip to content

fix(repository:) Add input validation for GetOperation - #2002

Merged
Aditya Patwardhan (adityapatwardhan) merged 5 commits into
PowerShell:masterfrom
Gijsreyn:gh-2001/main/fix-unhandled-null
Sep 14, 2026
Merged

Aditya Patwardhan (adityapatwardhan) merged 5 commits into
PowerShell:masterfrom
Gijsreyn:gh-2001/main/fix-unhandled-null

Fix test

ad7023f
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PowerShell.PSResourceGet succeeded Sep 14, 2026 in 36m 28s

Build #PowerShell.PSResourceGet-2609.14003 had test failures

Details

Tests

  • Failed: 1 (0.02%)
  • Passed: 5,193 (94.33%)
  • Other: 311 (5.65%)
  • Total: 5,505

Annotations

Check failure on line 1 in Test HTTP Find-PSResource for V2 Server Protocol.find all resources with specified tag given Tag property, with and without Prerelease property

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test HTTP Find-PSResource for V2 Server Protocol.find all resources with specified tag given Tag property, with and without Prerelease property

Expected a collection with size 2, but got an empty collection.
Raw output
at <ScriptBlock>, /Users/runner/work/1/s/test/FindPSResourceTests/FindPSResourceV2Server.Tests.ps1: line 353
353:         $res | Should -HaveCount 2