feat: portal tenant apply flow
This commit is contained in:
@@ -52,10 +52,10 @@ func (s *TenantJoinTestSuite) truncateAll(ctx context.Context) {
|
||||
), ShouldBeNil)
|
||||
}
|
||||
|
||||
func (s *TenantJoinTestSuite) seedInvite(ctx context.Context, tenantID, creatorUserID int64, code string, status consts.TenantInviteStatus, maxUses, usedCount int32, expiresAt time.Time) *models.TenantInvite {
|
||||
func (s *TenantJoinTestSuite) seedInvite(ctx context.Context, tenantID, inviterUserID int64, code string, status consts.TenantInviteStatus, maxUses, usedCount int32, expiresAt time.Time) *models.TenantInvite {
|
||||
inv := &models.TenantInvite{
|
||||
TenantID: tenantID,
|
||||
UserID: creatorUserID,
|
||||
UserID: inviterUserID,
|
||||
Code: code,
|
||||
Status: status,
|
||||
MaxUses: maxUses,
|
||||
|
||||
Reference in New Issue
Block a user