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]: Remove alias Update-GitHubUser from Set-GitHubUser #238

Merged
merged 3 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/functions/public/Users/Set-GitHubUser.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
[Update the authenticated user](https://docs.github.com/rest/users/users#update-the-authenticated-user)
#>
[OutputType([void])]
[Alias('Update-GitHubUser')]
[CmdletBinding(SupportsShouldProcess)]
param(
# The new name of the user.
Expand Down
4 changes: 2 additions & 2 deletions tests/GitHub.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ Describe 'As a user - Fine-grained PAT token - user account access (USER_FG_PAT)
It 'Get-GitHubUser - Get the specified user (USER_FG_PAT)' {
{ Get-GitHubUser -Username 'Octocat' } | Should -Not -Throw
}
It 'Get-GitHubUser - Can set configuration on a user (USER_FG_PAT)' {
It 'Set-GitHubUser - Can set configuration on a user (USER_FG_PAT)' {
# $params = @{
# Name = 'Octocat'
# Blog = 'https://marius-storhaug.com'
Expand Down Expand Up @@ -637,7 +637,7 @@ Describe 'As a user - Classic PAT token (PAT)' {
It 'Get-GitHubUser - Get the specified user (PAT)' {
{ Get-GitHubUser -Username 'Octocat' } | Should -Not -Throw
}
It 'Get-GitHubUser - Can set configuration on a user (PAT)' {
It 'Set-GitHubUser - Can set configuration on a user (PAT)' {
# $params = @{
# Name = 'Octocat'
# Blog = 'https://marius-storhaug.com'
Expand Down
Loading