diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-11 21:29:26 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-11 21:29:26 -0600 |
| commit | 1bd7eccfe0bbb43d0264b875ebb2f411d5653854 (patch) | |
| tree | 3a16d7d2e6edec2195721c45672b8662e55dcf5e /test | |
| parent | d44244e8d7ef24144253586ef31050f4fa84c19c (diff) | |
refactor: rename variable paths to publicPaths
Diffstat (limited to 'test')
| -rw-r--r-- | test/integration/container_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/container_test.go b/test/integration/container_test.go index 055c57e..40bbe74 100644 --- a/test/integration/container_test.go +++ b/test/integration/container_test.go @@ -71,7 +71,7 @@ func TestContainer(t *testing.T) { client := &http.Client{Timeout: 5 * time.Second} - paths := []string{ + publicPaths := []string{ envoyEndpoint + "/", envoyEndpoint + "/application.js", envoyEndpoint + "/favicon.ico", @@ -85,7 +85,7 @@ func TestContainer(t *testing.T) { sparkleEndpoint + "/health", } - for _, path := range paths { + for _, path := range publicPaths { t.Run(path, func(t *testing.T) { request, err := http.NewRequestWithContext(ctx, http.MethodGet, path, nil) response, err := client.Do(request) |
