github: fix retrieving team id with graphql API (#1554) (#1555)

Signed-off-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
This commit is contained in:
FUKAYA Toshikuni 2020-10-30 12:18:30 +09:00 committed by GitHub
parent 7face2ee71
commit cf0a93f429
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 10 deletions

View file

@ -42,13 +42,13 @@ func newMockAPI(t *testing.T, srv *httptest.Server) http.Handler {
"totalCount": 3,
"edges": []M{
{"node": M{
"id": 1,
"id": "MDQ6VGVhbTE=",
}},
{"node": M{
"id": 2,
"id": "MDQ6VGVhbTI=",
}},
{"node": M{
"id": 3,
"id": "MDQ6VGVhbTM=",
}},
},
},