Files
2026-03-10 15:55:10 +01:00

20 lines
427 B
Go

package memory
import (
"log/slog"
"testing"
"github.com/dexidp/dex/storage"
"github.com/dexidp/dex/storage/conformance"
)
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)
}