b9f6594bf0
Signed-off-by: Stephan Renatus <srenatus@chef.io>
25 lines
435 B
Go
25 lines
435 B
Go
package memory
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"github.com/sirupsen/logrus"
|
|
|
|
"github.com/dexidp/dex/storage"
|
|
"github.com/dexidp/dex/storage/conformance"
|
|
)
|
|
|
|
func TestStorage(t *testing.T) {
|
|
logger := &logrus.Logger{
|
|
Out: os.Stderr,
|
|
Formatter: &logrus.TextFormatter{DisableColors: true},
|
|
Level: logrus.DebugLevel,
|
|
}
|
|
|
|
newStorage := func() storage.Storage {
|
|
return New(logger)
|
|
}
|
|
conformance.RunTests(t, newStorage)
|
|
}
|