mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-05 19:08:03 +02:00
core/redis: remove redis
This commit is contained in:
parent
d610b9c25c
commit
adfc484adb
27 changed files with 24 additions and 1187 deletions
|
@ -7,6 +7,7 @@ import (
|
|||
"path/filepath"
|
||||
"reflect"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
@ -15,6 +16,8 @@ import (
|
|||
"google.golang.org/protobuf/testing/protocmp"
|
||||
)
|
||||
|
||||
const maxWait = time.Minute * 10
|
||||
|
||||
// AssertProtoEqual asserts that two protobuf messages equal. Slices of messages are also supported.
|
||||
func AssertProtoEqual(t *testing.T, expected, actual interface{}, msgAndArgs ...interface{}) bool {
|
||||
t.Helper()
|
||||
|
@ -70,8 +73,3 @@ func ModRoot() string {
|
|||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// TestDataRoot returns the testdata directory.
|
||||
func TestDataRoot() string {
|
||||
return filepath.Join(ModRoot(), "internal", "testutil", "testdata")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue