diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-11 16:27:06 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-11 21:21:38 -0600 |
| commit | 18816e8d858d3ba99e46dd59c68f45d5d2dde9d4 (patch) | |
| tree | 1bc27f3b980d9ff15b8f95905f3f005928e925cb | |
| parent | 9a6492645993b32a86e23d2bc432e43187ec579c (diff) | |
test: indicate temporary testing routes
| -rw-r--r-- | envoy.yml | 8 | ||||
| -rw-r--r-- | test/integration/container_test.go | 2 |
2 files changed, 5 insertions, 5 deletions
@@ -98,10 +98,10 @@ static_resources: pass_through_matcher: - name: ":path" string_match: - prefix: "/.well-known/" + prefix: "/.well-known/" # temporary - name: ":path" string_match: - prefix: "/oauth/" + prefix: "/oauth/" # temporary - name: ":path" string_match: suffix: ".html" @@ -176,13 +176,13 @@ static_resources: domains: ["*"] routes: - match: - prefix: "/.well-known/" + prefix: "/.well-known/" # temporary route: cluster: oidc timeout: 5s auto_host_rewrite: true - match: - prefix: "/oauth/" + prefix: "/oauth/" # temporary route: cluster: oidc timeout: 5s diff --git a/test/integration/container_test.go b/test/integration/container_test.go index 3c0ffaa..becad4a 100644 --- a/test/integration/container_test.go +++ b/test/integration/container_test.go @@ -57,7 +57,7 @@ func TestContainer(t *testing.T) { testcontainers.WithEnv(map[string]string{ "APP_ENV": "test", "BIND_ADDR": ":8080", - "DEBUG": "true", + "DEBUG": env.Fetch("DEBUG", ""), "HMAC_SESSION_SECRET": "secret", "OAUTH_CLIENT_ID": srv.MockOIDC.Config().ClientID, "OAUTH_CLIENT_SECRET": srv.MockOIDC.Config().ClientSecret, |
