diff --git a/tests/GitHub.Tests.ps1 b/tests/GitHub.Tests.ps1 index 49e3368d..649c3d1a 100644 --- a/tests/GitHub.Tests.ps1 +++ b/tests/GitHub.Tests.ps1 @@ -30,6 +30,9 @@ Describe 'GitHub' { $URI = ("$ApiBaseUri/" -replace '/$', '') + ("/$ApiEndpoint" -replace '^/', '') + $APICallStatusCode = $null + $APICallResponseHeaders = $null + $APICall = @{ Uri = $URI Method = $Method