🧪 fix test

This commit is contained in:
Max Lerebourg
2022-12-04 21:47:15 +01:00
parent 988f3ebeae
commit 7e9044c41d
+3 -2
View File
@@ -9,6 +9,7 @@ import (
"testing"
"text/template"
configuration "github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin/pkg/configuration"
ip "github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin/pkg/ip"
)
@@ -37,7 +38,7 @@ func TestNew(t *testing.T) {
type args struct {
ctx context.Context
next http.Handler
config *Config
config *configuration.Config
name string
}
tests := []struct {
@@ -180,7 +181,7 @@ func Test_crowdsecQuery(t *testing.T) {
func Test_getTLSConfigCrowdsec(t *testing.T) {
type args struct {
config *Config
config *configuration.Config
}
tests := []struct {
name string