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

Function TestUser

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

Source from the content-addressed store, hash-verified

26}
27
28func TestUser(t *testing.T) {
29 api, config, instanceID, err := setupAPIForTestForInstance()
30 require.NoError(t, err)
31
32 ts := &UserTestSuite{
33 API: api,
34 Config: config,
35 instanceID: instanceID,
36 }
37 defer api.db.Close()
38
39 suite.Run(t, ts)
40}
41
42func (ts *UserTestSuite) 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…