MCPcopy Create free account
hub / github.com/supabase/auth / TestFindUserByID

Method TestFindUserByID

internal/models/user_test.go:135–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133}
134
135func (ts *UserTestSuite) TestFindUserByID() {
136 u := ts.createUser()
137
138 n, err := FindUserByID(ts.db, u.ID)
139 require.NoError(ts.T(), err)
140 require.Equal(ts.T(), u.ID, n.ID)
141}
142
143func (ts *UserTestSuite) TestFindUserByRecoveryToken() {
144 u := ts.createUser()

Callers

nothing calls this directly

Calls 3

createUserMethod · 0.95
FindUserByIDFunction · 0.85
EqualMethod · 0.80

Tested by

no test coverage detected