OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
427 B

10 years ago
package memory
import (
"log/slog"
10 years ago
"testing"
"github.com/dexidp/dex/storage"
"github.com/dexidp/dex/storage/conformance"
10 years ago
)
func TestStorage(t *testing.T) {
newStorage := func(t *testing.T) storage.Storage {
logger := slog.New(slog.NewTextHandler(t.Output(), &slog.HandlerOptions{Level: slog.LevelDebug}))
return New(logger)
}
conformance.RunTests(t, newStorage)
conformance.RunConcurrencyTests(t, newStorage)
10 years ago
}