diff --git a/src/functions/public/Users/Set-GitHubUser.ps1 b/src/functions/public/Users/Set-GitHubUser.ps1 index 1141ee744..020f9aacc 100644 --- a/src/functions/public/Users/Set-GitHubUser.ps1 +++ b/src/functions/public/Users/Set-GitHubUser.ps1 @@ -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. diff --git a/tests/GitHub.Tests.ps1 b/tests/GitHub.Tests.ps1 index 8abf828ea..46234b84d 100644 --- a/tests/GitHub.Tests.ps1 +++ b/tests/GitHub.Tests.ps1 @@ -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' @@ -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'