From 12034502ac2fb2e26419a48dc9a10016d5ce99ff Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 19 Jan 2024 11:39:42 +0100 Subject: [PATCH] Use default values in tests --- src/test/cljc/dda/c4k_forgejo/forgejo_test.cljc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/test/cljc/dda/c4k_forgejo/forgejo_test.cljc b/src/test/cljc/dda/c4k_forgejo/forgejo_test.cljc index b6a8661..54a6070 100644 --- a/src/test/cljc/dda/c4k_forgejo/forgejo_test.cljc +++ b/src/test/cljc/dda/c4k_forgejo/forgejo_test.cljc @@ -136,13 +136,7 @@ :kind "Middleware", :metadata {:name "ratelimit"}, :spec {:rateLimit {:average 10, :burst 5}}} - (cut/generate-rate-limit-middleware {:fqdn "test.de" - :mailer-from "" - :mailer-host "m.t.de" - :mailer-port "123" - :service-noreply-address "" - :average 10 - :burst 5})))) + (cut/generate-rate-limit-middleware {:max-rate 10, :max-concurrent-requests 5})))) (deftest should-generate-middleware-ratelimit-ingress-and-cert (is (= {:traefik.ingress.kubernetes.io/router.entrypoints "web, websecure",