@@ -143,14 +143,14 @@ func Test_GetMe(t *testing.T) {
143143 }
144144}
145145
146- func Test_GetMyTeams (t * testing.T ) {
146+ func Test_GetTeams (t * testing.T ) {
147147 t .Parallel ()
148148
149- tool , _ := GetMyTeams (nil , nil , translations .NullTranslationHelper )
149+ tool , _ := GetTeams (nil , nil , translations .NullTranslationHelper )
150150 require .NoError (t , toolsnaps .Test (tool .Name , tool ))
151151
152- assert .Equal (t , "get_my_teams " , tool .Name )
153- assert .True (t , * tool .Annotations .ReadOnlyHint , "get_my_teams tool should be read-only" )
152+ assert .Equal (t , "get_teams " , tool .Name )
153+ assert .True (t , * tool .Annotations .ReadOnlyHint , "get_teams tool should be read-only" )
154154
155155 mockUser := & github.User {
156156 Login : github .Ptr ("testuser" ),
@@ -333,7 +333,7 @@ func Test_GetMyTeams(t *testing.T) {
333333
334334 for _ , tc := range tests {
335335 t .Run (tc .name , func (t * testing.T ) {
336- _ , handler := GetMyTeams (tc .stubbedGetClientFn , tc .stubbedGetGQLClientFn , translations .NullTranslationHelper )
336+ _ , handler := GetTeams (tc .stubbedGetClientFn , tc .stubbedGetGQLClientFn , translations .NullTranslationHelper )
337337
338338 request := createMCPRequest (tc .requestArgs )
339339 result , err := handler (context .Background (), request )
0 commit comments