mirror of
https://github.com/netbirdio/dex.git
synced 2026-05-22 18:43:53 -07:00
3d97c59032
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
20 lines
427 B
Go
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)
|
|
}
|