@@ -25,32 +25,32 @@ func TestCache(t *testing.T) {
2525 `{"data":{"account":{ "systems":{ "nodes":[{{ template "system1_response" }}] } }}}` ,
2626 )
2727 testRequestFour := autopilot .NewTestRequest (
28- `query TeamList($after:String!$first:Int!){account{teams(after: $after, first: $first){nodes{alias,id,aliases,managedAliases,contacts{address,displayName,displayType,externalId,id,isDefault,type},htmlUrl,manager{id,email,htmlUrl,name,provisionedBy,role},memberships{nodes{role,team{alias,id},user{id,email}},{{ template "pagination_request" }},totalCount },name,parentTeam{alias,id},responsibilities,tags{nodes{id,key,value},{{ template "pagination_request" }},totalCount }},{{ template "pagination_request" }},totalCount }}}` ,
28+ `query TeamList($after:String!$first:Int!){account{teams(after: $after, first: $first){nodes{alias,id,aliases,managedAliases,contacts{address,displayName,displayType,externalId,id,isDefault,type},htmlUrl,manager{id,email,htmlUrl,name,provisionedBy,role},memberships{nodes{role,team{alias,id},user{id,email}},{{ template "pagination_request" }}},name,parentTeam{alias,id},responsibilities,tags{nodes{id,key,value},{{ template "pagination_request" }}}},{{ template "pagination_request" }}}}}` ,
2929 `{ "after": "", "first": 100 }` ,
3030 `{"data":{"account":{ "teams":{ "nodes":[{{ template "team_1" }}] } }}}` ,
3131 )
3232 testRequestFive := autopilot .NewTestRequest (
33- `query CategoryList($after:String!$first:Int!){account{rubric{categories(after: $after, first: $first){nodes{description,id,name},{{ template "pagination_request" }},totalCount }}}}` ,
33+ `query CategoryList($after:String!$first:Int!){account{rubric{categories(after: $after, first: $first){nodes{description,id,name},{{ template "pagination_request" }}}}}}` ,
3434 `{ "after": "", "first": 100 }` ,
3535 `{"data":{"account":{"rubric":{ "categories":{ "nodes":[{{ template "category_1" }}] } }}}}` ,
3636 )
3737 testRequestSix := autopilot .NewTestRequest (
38- `{account{rubric{levels{nodes{alias,description,id,index,name},{{ template "pagination_request" }},totalCount }}}}` ,
39- `{}` ,
38+ `query LevelsList($after:String!$first:Int!) {account{rubric{levels(after: $after, first: $first) {nodes{alias,description,id,index,name},{{ template "pagination_request" }}}}}}` ,
39+ `{ "after": "", "first": 100 }` ,
4040 `{"data":{"account":{"rubric":{ "levels":{ "nodes":[{{ template "level_1" }}] } }}}}` ,
4141 )
4242 testRequestSeven := autopilot .NewTestRequest (
43- `query FilterList($after:String!$first:Int!){account{filters(after: $after, first: $first){nodes{id,name,connective,htmlUrl,predicates{caseSensitive,key,keyData,type,value}},{{ template "pagination_request" }},totalCount }}}` ,
43+ `query FilterList($after:String!$first:Int!){account{filters(after: $after, first: $first){nodes{id,name,connective,htmlUrl,predicates{caseSensitive,key,keyData,type,value}},{{ template "pagination_request" }}}}}` ,
4444 `{ "after": "", "first": 100 }` ,
4545 `{"data":{"account":{ "filters":{ "nodes":[{{ template "filter_1" }}] } }}}` ,
4646 )
4747 testRequestEight := autopilot .NewTestRequest (
48- `query IntegrationList($after:String!$first:Int!){account{integrations(after: $after, first: $first){nodes{{ template "integration_request" }},pageInfo{hasNextPage,hasPreviousPage,startCursor,endCursor},totalCount }}}` ,
48+ `query IntegrationList($after:String!$first:Int!){account{integrations(after: $after, first: $first){nodes{{ template "integration_request" }},pageInfo{hasNextPage,hasPreviousPage,startCursor,endCursor}}}}` ,
4949 `{ "after": "", "first": 100 }` ,
5050 `{"data":{"account":{ "integrations":{ "nodes":[{{ template "integration_1" }}] } }}}` ,
5151 )
5252 testRequestNine := autopilot .NewTestRequest (
53- `query RepositoryList($after:String!$first:Int!$visible:Boolean!){account{repositories(after: $after, first: $first, visible: $visible){hiddenCount,nodes{archivedAt,createdOn,defaultAlias,defaultBranch,description,forked,htmlUrl,id,languages{name,usage},lastOwnerChangedAt,locked,name,organization,owner{alias,id},private,repoKey,services{edges{atRoot,node{id,aliases},paths{href,path},serviceRepositories{baseDirectory,displayName,id,repository{id,defaultAlias},service{id,aliases}}},{{ template "pagination_request" }},totalCount },tags{nodes{id,key,value},{{ template "pagination_request" }},totalCount },tier{alias,description,id,index,name},type,url,visible},organizationCount,ownedCount,{{ template "pagination_request" }},totalCount ,visibleCount}}}` ,
53+ `query RepositoryList($after:String!$first:Int!$visible:Boolean!){account{repositories(after: $after, first: $first, visible: $visible){hiddenCount,nodes{archivedAt,createdOn,defaultAlias,defaultBranch,description,forked,htmlUrl,id,languages{name,usage},lastOwnerChangedAt,locked,name,organization,owner{alias,id},private,repoKey,services{edges{atRoot,node{id,aliases},paths{href,path},serviceRepositories{baseDirectory,displayName,id,repository{id,defaultAlias},service{id,aliases}}},{{ template "pagination_request" }}},tags{nodes{id,key,value},{{ template "pagination_request" }}},tier{alias,description,id,index,name},type,url,visible},organizationCount,ownedCount,{{ template "pagination_request" }},visibleCount}}}` ,
5454 `{ "after": "", "first": 100, "visible": true }` ,
5555 `{"data":{"account":{ "repositories":{ "hiddenCount": 0, "nodes":[{{ template "repository_1" }}] } }}}` ,
5656 )
0 commit comments