Use default values in tests
This commit is contained in:
parent
4881ea3c0d
commit
12034502ac
1 changed files with 1 additions and 7 deletions
|
@ -136,13 +136,7 @@
|
||||||
:kind "Middleware",
|
:kind "Middleware",
|
||||||
:metadata {:name "ratelimit"},
|
:metadata {:name "ratelimit"},
|
||||||
:spec {:rateLimit {:average 10, :burst 5}}}
|
:spec {:rateLimit {:average 10, :burst 5}}}
|
||||||
(cut/generate-rate-limit-middleware {:fqdn "test.de"
|
(cut/generate-rate-limit-middleware {:max-rate 10, :max-concurrent-requests 5}))))
|
||||||
:mailer-from ""
|
|
||||||
:mailer-host "m.t.de"
|
|
||||||
:mailer-port "123"
|
|
||||||
:service-noreply-address ""
|
|
||||||
:average 10
|
|
||||||
:burst 5}))))
|
|
||||||
|
|
||||||
(deftest should-generate-middleware-ratelimit-ingress-and-cert
|
(deftest should-generate-middleware-ratelimit-ingress-and-cert
|
||||||
(is (= {:traefik.ingress.kubernetes.io/router.entrypoints "web, websecure",
|
(is (= {:traefik.ingress.kubernetes.io/router.entrypoints "web, websecure",
|
||||||
|
|
Loading…
Reference in a new issue