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

Method createUserWithEmail

models/user_test.go:188–196  ·  view source on GitHub ↗
(email string)

Source from the content-addressed store, hash-verified

186}
187
188func (ts *UserTestSuite) createUserWithEmail(email string) *User {
189 user, err := NewUser(uuid.Nil, email, "secret", "test", nil)
190 require.NoError(ts.T(), err)
191
192 err = ts.db.Create(user)
193 require.NoError(ts.T(), err)
194
195 return user
196}

Callers 2

TestIsDuplicatedEmailMethod · 0.95
createUserMethod · 0.95

Calls 1

NewUserFunction · 0.85

Tested by

no test coverage detected