Skip to content

Commit

Permalink
modfied supported list
Browse files Browse the repository at this point in the history
  • Loading branch information
kofoworola committed Jan 17, 2025
1 parent a8291f7 commit b22f75e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apidef/oas/linter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func TestXTykGateway_Lint(t *testing.T) {
}

settings.Upstream.RateLimit.Per = ReadableDuration(10 * time.Second)
settings.Server.Authentication.KeyRetentionPeriod.Value = ReadableDuration(10 * Second)
settings.Server.Authentication.KeyRetentionPeriod.Value = ReadableDuration(10 * time.Second)

settings.Upstream.Authentication = &UpstreamAuth{
Enabled: false,
Expand Down
2 changes: 1 addition & 1 deletion apidef/oas/oas_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ func TestOAS_ExtractTo_ResetAPIDefinition(t *testing.T) {
a.DoNotTrack = false
a.IPAccessControlDisabled = false
a.DisableExpireAnalytics = false
a.SessionLifetimeDisabled = false

// deprecated fields
a.Auth = apidef.AuthConfig{}
Expand Down Expand Up @@ -254,7 +255,6 @@ func TestOAS_ExtractTo_ResetAPIDefinition(t *testing.T) {
"APIDefinition.Proxy.Transport.ProxyURL",
"APIDefinition.DisableQuota",
"APIDefinition.SessionLifetimeRespectsKeyExpiration",
"APIDefinition.SessionLifetimeDisabled",
"APIDefinition.AuthProvider.Name",
"APIDefinition.AuthProvider.StorageEngine",
"APIDefinition.AuthProvider.Meta[0]",
Expand Down

0 comments on commit b22f75e

Please sign in to comment.