Clean docker-compose, add test data in .traefik

This commit is contained in:
MathieuHa
2022-09-28 20:44:52 +02:00
parent 188aea2446
commit 60b789ba9d
3 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -6,10 +6,10 @@ import (
"net/http/httptest"
"testing"
"github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
crowdsec_bouncer_traefik_plugin "github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
)
func TestDemo(t *testing.T) {
func TestCrowdSec(t *testing.T) {
cfg := crowdsec_bouncer_traefik_plugin.CreateConfig()
cfg.CrowdsecLapiKey = "caca"