Skip to content

Commit 896d34b

Browse files
committed
rm old comments
1 parent c04c6dc commit 896d34b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/github/context_tools_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ func Test_GetTeams(t *testing.T) {
235235
),
236236
),
237237
stubbedGetGQLClientFn: func(_ context.Context) (*githubv4.Client, error) {
238-
// The GraphQL query constructed by the Go struct
239238
queryStr := "query($login:String!){user(login: $login){organizations(first: 100){nodes{login,teams(first: 100, userLogins: [$login]){nodes{name,slug,description}}}}}}"
240239
vars := map[string]interface{}{
241240
"login": "testuser",
@@ -250,7 +249,7 @@ func Test_GetTeams(t *testing.T) {
250249
},
251250
{
252251
name: "successful get teams for specific user",
253-
stubbedGetClientFn: nil, // No REST client needed when user is provided
252+
stubbedGetClientFn: nil,
254253
stubbedGetGQLClientFn: func(_ context.Context) (*githubv4.Client, error) {
255254
queryStr := "query($login:String!){user(login: $login){organizations(first: 100){nodes{login,teams(first: 100, userLogins: [$login]){nodes{name,slug,description}}}}}}"
256255
vars := map[string]interface{}{

0 commit comments

Comments
 (0)