@@ -178,14 +178,14 @@ func Test_GetTeams(t *testing.T) {
178178 "teams" : map [string ]any {
179179 "nodes" : []map [string ]any {
180180 {
181- "name" : "Frontend Team " ,
182- "slug" : "frontend-team " ,
183- "description" : "Team responsible for frontend development " ,
181+ "name" : "team1 " ,
182+ "slug" : "team1 " ,
183+ "description" : "Team 1 " ,
184184 },
185185 {
186- "name" : "Backend Team " ,
187- "slug" : "backend-team " ,
188- "description" : "Team responsible for backend development " ,
186+ "name" : "team2 " ,
187+ "slug" : "team2 " ,
188+ "description" : "Team 2 " ,
189189 },
190190 },
191191 },
@@ -195,9 +195,9 @@ func Test_GetTeams(t *testing.T) {
195195 "teams" : map [string ]any {
196196 "nodes" : []map [string ]any {
197197 {
198- "name" : "DevOps Team " ,
199- "slug" : "devops-team " ,
200- "description" : "Team responsible for DevOps and infrastructure " ,
198+ "name" : "team3 " ,
199+ "slug" : "team3 " ,
200+ "description" : "Team 3 " ,
201201 },
202202 },
203203 },
@@ -363,12 +363,12 @@ func Test_GetTeams(t *testing.T) {
363363 if tc .expectedTeamsCount > 0 {
364364 assert .Equal (t , "testorg1" , organizations [0 ].Login )
365365 assert .Len (t , organizations [0 ].Teams .Nodes , 2 )
366- assert .Equal (t , "Frontend Team " , organizations [0 ].Teams .Nodes [0 ].Name )
367- assert .Equal (t , "frontend-team " , organizations [0 ].Teams .Nodes [0 ].Slug )
366+ assert .Equal (t , "team1 " , organizations [0 ].Teams .Nodes [0 ].Name )
367+ assert .Equal (t , "team1 " , organizations [0 ].Teams .Nodes [0 ].Slug )
368368
369369 assert .Equal (t , "testorg2" , organizations [1 ].Login )
370370 assert .Len (t , organizations [1 ].Teams .Nodes , 1 )
371- assert .Equal (t , "DevOps Team " , organizations [1 ].Teams .Nodes [0 ].Name )
371+ assert .Equal (t , "team3 " , organizations [1 ].Teams .Nodes [0 ].Name )
372372 }
373373 })
374374 }
0 commit comments