Skip to content

Commit

Permalink
format source code
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCodear authored and svanharmelen committed Jan 16, 2024
1 parent 80a3897 commit c3f82c2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions group_access_tokens_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func TestCreateGroupAccessToken(t *testing.T) {
t.Errorf("GroupAccessTokens.CreateGroupAccessToken returned %+v, want %+v", groupAccessToken, want)
}
}

func TestRotateGroupAccessToken(t *testing.T) {
mux, client := setup(t)
mux.HandleFunc("/api/v4/groups/1/access_tokens/42/rotate", func(w http.ResponseWriter, r *http.Request) {
Expand Down
6 changes: 3 additions & 3 deletions group_boards_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,9 @@ func TestGroupIssueBoardsService_UpdateIssueBoard(t *testing.T) {
},
Labels: []*GroupLabel{
{
ID: 11,
Name: "GroupLabel",
Color: "#428BCA",
ID: 11,
Name: "GroupLabel",
Color: "#428BCA",
Description: "",
},
},
Expand Down
1 change: 1 addition & 0 deletions personal_access_tokens_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ func TestRotatePersonalAccessToken(t *testing.T) {
t.Errorf("PersonalAccessTokens.RotatePersonalAccessTokens returned %+v, want %+v", rotatedToken, want)
}
}

func TestRevokePersonalAccessToken(t *testing.T) {
mux, client := setup(t)

Expand Down

0 comments on commit c3f82c2

Please sign in to comment.