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

Method TestUpdateStatus

internal/models/factor_test.go:55–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func (ts *FactorTestSuite) TestUpdateStatus() {
56 newFactorStatus := FactorStateVerified
57 require.NoError(ts.T(), ts.TestFactor.UpdateStatus(ts.db, newFactorStatus))
58 require.Equal(ts.T(), newFactorStatus.String(), ts.TestFactor.Status)
59}
60
61func (ts *FactorTestSuite) TestUpdateFriendlyName() {
62 newName := "newfactorname"

Callers

nothing calls this directly

Calls 3

UpdateStatusMethod · 0.80
EqualMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected