MCPcopy Index your code
hub / github.com/coder/coder / noLink

Method noLink

coderd/database/oidcclaims_test.go:196–206  ·  view source on GitHub ↗
(lt database.LoginType)

Source from the content-addressed store, hash-verified

194}
195
196func (g userGenerator) noLink(lt database.LoginType) database.User {
197 t := g.t
198 db := g.db
199
200 t.Helper()
201
202 u := dbgen.User(t, db, database.User{
203 LoginType: lt,
204 })
205 return u
206}
207
208func (g userGenerator) withLink(lt database.LoginType, rawJSON json.RawMessage) database.User {
209 t := g.t

Callers 2

TestOIDCClaimsFunction · 0.95
withLinkMethod · 0.95

Calls 2

UserFunction · 0.92
HelperMethod · 0.65

Tested by

no test coverage detected