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

Method SetupTest

internal/api/invite_test.go:44–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44func (ts *InviteTestSuite) SetupTest() {
45 models.TruncateAll(ts.API.db)
46
47 // Setup response recorder with super admin privileges
48 ts.token = ts.makeSuperAdmin("")
49}
50
51func (ts *InviteTestSuite) makeSuperAdmin(email string) string {
52 // Cleanup existing user, if they already exist

Callers

nothing calls this directly

Calls 2

makeSuperAdminMethod · 0.95
TruncateAllFunction · 0.92

Tested by

no test coverage detected