mirror of https://github.com/dexidp/dex.git
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.
18 lines
379 B
18 lines
379 B
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) |
|
}
|
|
|