@@ -49,7 +49,7 @@ describe('CheckSubgraphSchema', (ctx) => {
4949 await afterAllSetup ( dbname ) ;
5050 } ) ;
5151
52- test . each ( [ 'organization-admin' , 'organization-developer' , 'subgraph-admin' , 'subgraph-publisher' ] ) (
52+ test . each ( [ 'organization-admin' , 'organization-developer' , 'subgraph-admin' , 'subgraph-publisher' , 'subgraph-checker' ] ) (
5353 '%s should be able to create a subgraph, publish the schema and then check with new schema' ,
5454 async ( role ) => {
5555 const { client, server, authenticator, users } = await SetupTest ( { dbname, chClient } ) ;
@@ -158,7 +158,7 @@ describe('CheckSubgraphSchema', (ctx) => {
158158 await server . close ( ) ;
159159 } ) ;
160160
161- test . each ( [ 'subgraph-admin' , 'subgraph-publisher' ] ) (
161+ test . each ( [ 'subgraph-admin' , 'subgraph-publisher' , 'subgraph-checker' ] ) (
162162 '%s should be able to check with new schema on allowed namespaces' ,
163163 async ( role ) => {
164164 const { client, server, authenticator, users } = await SetupTest ( { dbname, chClient } ) ;
@@ -247,6 +247,7 @@ describe('CheckSubgraphSchema', (ctx) => {
247247 'namespace-viewer' ,
248248 'graph-admin' ,
249249 'graph-viewer' ,
250+ 'graph-checker' ,
250251 'subgraph-viewer' ,
251252 ] ) ( '%s should not be able to create a subgraph, publish the schema and then check with new schema' , async ( role ) => {
252253 const { client, server, authenticator, users } = await SetupTest ( { dbname, chClient } ) ;
0 commit comments