Skip to content

Commit

Permalink
Remove some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Nov 5, 2023
1 parent e676b81 commit 3c67d74
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tests/GitHub/Get-GitHubRepository.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
Get-Command Get-GitHubRepository | Should -Not -BeNullOrEmpty
}

Context 'Parameter Set: MyRepos_Type' {
It 'Can be called with no parameters' {
{ Get-GitHubRepository - } | Should -Not -Throw
}
# Context 'Parameter Set: MyRepos_Type' {
# It 'Can be called with no parameters' {
# { Get-GitHubRepository - } | Should -Not -Throw
# }

It 'Can be called with Type parameter' {
{ Get-GitHubRepository -Type 'public' } | Should -Not -Throw
}
}
# It 'Can be called with Type parameter' {
# { Get-GitHubRepository -Type 'public' } | Should -Not -Throw
# }
# }

Context 'Parameter Set: MyRepos_Aff-Vis' {
It 'Can be called with Visibility and Affiliation parameters' {
{ Get-GitHubRepository -Visibility 'public' -Affiliation 'owner' } | Should -Not -Throw
}
}
# Context 'Parameter Set: MyRepos_Aff-Vis' {
# It 'Can be called with Visibility and Affiliation parameters' {
# { Get-GitHubRepository -Visibility 'public' -Affiliation 'owner' } | Should -Not -Throw
# }
# }

Context 'Parameter Set: ByName' {
It 'Can be called with Owner and Repo parameters' {
Expand Down

0 comments on commit 3c67d74

Please sign in to comment.