(schema string)
| 34 | } |
| 35 | |
| 36 | func getAuthMeta(schema string) *testutil.AuthMeta { |
| 37 | authMeta, err := authorization.Parse(schema) |
| 38 | x.Panic(err) |
| 39 | |
| 40 | return &testutil.AuthMeta{ |
| 41 | PublicKey: authMeta.VerificationKey, |
| 42 | Namespace: authMeta.Namespace, |
| 43 | Algo: authMeta.Algo, |
| 44 | Header: authMeta.Header, |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | func clearAll(b require.TestingT, metaInfo *testutil.AuthMeta) { |
| 49 | getParams := &common.GraphQLParams{ |
no test coverage detected