diff options
author | Mohammed Al Sahaf <msaa1990@gmail.com> | 2022-09-24 22:00:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-24 19:00:55 +0000 |
commit | b5727b9c443b45a83c463caa85a24783e901f144 (patch) | |
tree | 97949546b02752d816aa334fb9702a43727d759c /caddytest/integration/map_test.go | |
parent | 7041970059db9047143d82b2c489c7bc34df691f (diff) |
ci: fix integration tests (#5079)
Diffstat (limited to 'caddytest/integration/map_test.go')
-rw-r--r-- | caddytest/integration/map_test.go | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/caddytest/integration/map_test.go b/caddytest/integration/map_test.go index 0595957..eb33865 100644 --- a/caddytest/integration/map_test.go +++ b/caddytest/integration/map_test.go @@ -11,9 +11,11 @@ func TestMap(t *testing.T) { // arrange tester := caddytest.NewTester(t) tester.InitServer(`{ + skip_install_trust + admin localhost:2999 http_port 9080 https_port 9443 - grace_period 1 + grace_period 1ns } localhost:9080 { @@ -39,6 +41,8 @@ func TestMapRespondWithDefault(t *testing.T) { // arrange tester := caddytest.NewTester(t) tester.InitServer(`{ + skip_install_trust + admin localhost:2999 http_port 9080 https_port 9443 } @@ -66,7 +70,17 @@ func TestMapAsJSON(t *testing.T) { tester := caddytest.NewTester(t) tester.InitServer(` { + "admin": { + "listen": "localhost:2999" + }, "apps": { + "pki": { + "certificate_authorities" : { + "local" : { + "install_trust": false + } + } + }, "http": { "http_port": 9080, "https_port": 9443, |