Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Aug 11, 2024
1 parent fb84943 commit b246ab7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions tests/GitHub.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,10 @@ Describe 'GitHub' {
APIEndpoint = '/rate_limit'
Method = 'GET'
}

try {
$response = Invoke-GitHubAPI @inputObject
} catch {
Get-PSCallStack -Verbose
Write-Verbose ($_.Exception.Message) -Verbose
}

$response = Invoke-GitHubAPI @inputObject -Verbose

$response

$response | Should -Not -BeNullOrEmpty
$response.Response.rate | Should -Not -BeNullOrEmpty
Expand Down

0 comments on commit b246ab7

Please sign in to comment.