Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🩹 [Patch]: Add tests for Organizations #243

Merged
merged 9 commits into from
Dec 28, 2024
Merged

🩹 [Patch]: Add tests for Organizations #243

merged 9 commits into from
Dec 28, 2024

Conversation

MariusStorhaug
Copy link
Member

@MariusStorhaug MariusStorhaug commented Dec 27, 2024

Description

This pull request improves the functionality and testing of GitHub authentication and organization-related commands in the PowerShell module.

Enhancements to GitHub authentication:

Improvements to test coverage:

  • tests/GitHub.Tests.ps1: Added new test contexts for organization-related commands under different authentication scenarios (fine-grained PAT, classic PAT, GitHub App - Enterprise, and GitHub App - Organization). Updated expected context counts in various tests to reflect the new -Default parameter functionality. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@MariusStorhaug MariusStorhaug self-assigned this Dec 27, 2024
@MariusStorhaug MariusStorhaug requested a review from a team as a code owner December 27, 2024 16:32
@MariusStorhaug MariusStorhaug merged commit 7eb7254 into main Dec 28, 2024
20 checks passed
@MariusStorhaug MariusStorhaug deleted the testOrg branch December 28, 2024 13:07
Copy link
Contributor

Module [GitHub - v0.11.33] published to the PowerShell Gallery.

Copy link
Contributor

GitHub release for GitHub v0.11.33 has been created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

🪲[Bug]: Allow disconnecting context without having a default context
1 participant