MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / TestMain

Function TestMain

edgraph/access_test.go:109–117  ·  view source on GitHub ↗
(m *testing.M)

Source from the content-addressed store, hash-verified

107}
108
109func TestMain(m *testing.M) {
110 worker.Config.AclJwtAlg = jwt.SigningMethodHS256
111 x.WorkerConfig.AclJwtAlg = jwt.SigningMethodHS256
112 x.WorkerConfig.AclPublicKey = x.Sensitive("6ABBAA2014CFF00289D20D20DA296F67")
113 worker.Config.AccessJwtTtl = 20 * time.Second
114 worker.Config.RefreshJwtTtl = 20 * time.Second
115 worker.Config.AclSecretKey = x.Sensitive("6ABBAA2014CFF00289D20D20DA296F67")
116 m.Run()
117}

Callers

nothing calls this directly

Calls 2

SensitiveTypeAlias · 0.92
RunMethod · 0.45

Tested by

no test coverage detected