-
This commit is contained in:
@ -231,8 +231,8 @@ func (suite *IntegrationTestSuite) TestApplicationCRUD() {
|
||||
AppLink: "https://test-integration.example.com",
|
||||
Type: []domain.ApplicationType{domain.ApplicationTypeStatic, domain.ApplicationTypeUser},
|
||||
CallbackURL: "https://test-integration.example.com/callback",
|
||||
TokenRenewalDuration: 7 * 24 * time.Hour, // 7 days
|
||||
MaxTokenDuration: 30 * 24 * time.Hour, // 30 days
|
||||
TokenRenewalDuration: domain.Duration{Duration: 7 * 24 * time.Hour}, // 7 days
|
||||
MaxTokenDuration: domain.Duration{Duration: 30 * 24 * time.Hour}, // 30 days
|
||||
Owner: domain.Owner{
|
||||
Type: domain.OwnerTypeTeam,
|
||||
Name: "Integration Test Team",
|
||||
@ -333,8 +333,8 @@ func (suite *IntegrationTestSuite) TestStaticTokenWorkflow() {
|
||||
AppLink: "https://test-token.example.com",
|
||||
Type: []domain.ApplicationType{domain.ApplicationTypeStatic},
|
||||
CallbackURL: "https://test-token.example.com/callback",
|
||||
TokenRenewalDuration: 7 * 24 * time.Hour,
|
||||
MaxTokenDuration: 30 * 24 * time.Hour,
|
||||
TokenRenewalDuration: domain.Duration{Duration: 7 * 24 * time.Hour},
|
||||
MaxTokenDuration: domain.Duration{Duration: 30 * 24 * time.Hour},
|
||||
Owner: domain.Owner{
|
||||
Type: domain.OwnerTypeIndividual,
|
||||
Name: "Token Test User",
|
||||
@ -438,8 +438,8 @@ func (suite *IntegrationTestSuite) TestUserTokenWorkflow() {
|
||||
AppLink: "https://test-user.example.com",
|
||||
Type: []domain.ApplicationType{domain.ApplicationTypeUser},
|
||||
CallbackURL: "https://test-user.example.com/callback",
|
||||
TokenRenewalDuration: 7 * 24 * time.Hour,
|
||||
MaxTokenDuration: 30 * 24 * time.Hour,
|
||||
TokenRenewalDuration: domain.Duration{Duration: 7 * 24 * time.Hour},
|
||||
MaxTokenDuration: domain.Duration{Duration: 30 * 24 * time.Hour},
|
||||
Owner: domain.Owner{
|
||||
Type: domain.OwnerTypeTeam,
|
||||
Name: "User Test Team",
|
||||
@ -570,8 +570,8 @@ func (suite *IntegrationTestSuite) TestConcurrentRequests() {
|
||||
AppLink: "https://test-concurrent.example.com",
|
||||
Type: []domain.ApplicationType{domain.ApplicationTypeStatic},
|
||||
CallbackURL: "https://test-concurrent.example.com/callback",
|
||||
TokenRenewalDuration: 7 * 24 * time.Hour,
|
||||
MaxTokenDuration: 30 * 24 * time.Hour,
|
||||
TokenRenewalDuration: domain.Duration{Duration: 7 * 24 * time.Hour},
|
||||
MaxTokenDuration: domain.Duration{Duration: 30 * 24 * time.Hour},
|
||||
Owner: domain.Owner{
|
||||
Type: domain.OwnerTypeTeam,
|
||||
Name: "Concurrent Test Team",
|
||||
|
||||
Reference in New Issue
Block a user