mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 19:48:59 +02:00
add library until better solution
This commit is contained in:
Vendored
+5
@@ -4,7 +4,10 @@ package cache
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func Test_getDecisionLocalCache(t *testing.T) {
|
||||
@@ -36,6 +39,8 @@ func Test_getDecisionLocalCache(t *testing.T) {
|
||||
if got != tt.want {
|
||||
t.Errorf("getDecisionLocalCache() = %v, want %v", got, tt.want)
|
||||
}
|
||||
// before removing find alternative
|
||||
assert.Equal(t, err, tt.valueErr)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user