()
| 42 | } |
| 43 | |
| 44 | func (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 | |
| 51 | func (ts *InviteTestSuite) makeSuperAdmin(email string) string { |
| 52 | // Cleanup existing user, if they already exist |
nothing calls this directly
no test coverage detected