mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-31 18:07:17 +02:00
implement new redis storage backend with go-redis package (#1649)
This commit is contained in:
parent
2e8b842aed
commit
3b634de550
10 changed files with 383 additions and 406 deletions
|
@ -14,7 +14,6 @@ import (
|
|||
)
|
||||
|
||||
func TestEncryptedBackend(t *testing.T) {
|
||||
|
||||
ctx := context.Background()
|
||||
|
||||
m := map[string]*anypb.Any{}
|
||||
|
@ -79,7 +78,7 @@ func TestEncryptedBackend(t *testing.T) {
|
|||
assert.Equal(t, any.Value, record.Data.Value, "value should be preserved")
|
||||
assert.Equal(t, any.TypeUrl, record.Type, "record type should be preserved")
|
||||
|
||||
records, err := e.GetAll(ctx)
|
||||
records, err := e.List(ctx, "")
|
||||
if !assert.NoError(t, err) {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue