MCPcopy Create free account
hub / github.com/netlify/gotrue / TestInstance

Function TestInstance

api/instance_test.go:28–40  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

26}
27
28func TestInstance(t *testing.T) {
29 api, _, err := setupAPIForMultiinstanceTest()
30 require.NoError(t, err)
31
32 api.config.OperatorToken = operatorToken
33
34 ts := &InstanceTestSuite{
35 API: api,
36 }
37 defer api.db.Close()
38
39 suite.Run(t, ts)
40}
41
42func (ts *InstanceTestSuite) SetupTest() {
43 models.TruncateAll(ts.API.db)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…