Browse Source

fix: clean up remaining session store references and test dependencies

Remove any remaining SessionStore interface definitions and fix test
configurations to work with the new stateless architecture.
pull/7160/head
chrislu 1 month ago
parent
commit
b8075668a4
  1. 10
      weed/iam/sts/sts_service_test.go

10
weed/iam/sts/sts_service_test.go

@ -307,11 +307,11 @@ func setupTestSTSService(t *testing.T) *STSService {
service := NewSTSService()
config := &STSConfig{
TokenDuration: time.Hour,
MaxSessionLength: time.Hour * 12,
Issuer: "test-sts",
SigningKey: []byte("test-signing-key-32-characters-long"),
SessionStoreType: "memory", // Use memory store for unit tests
TokenDuration: time.Hour,
MaxSessionLength: time.Hour * 12,
Issuer: "test-sts",
SigningKey: []byte("test-signing-key-32-characters-long"),
SessionStoreType: "memory", // Use memory store for unit tests
}
err := service.Initialize(config)

Loading…
Cancel
Save