mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 11:38:59 +02:00
🧪 fix test
This commit is contained in:
+3
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user