From 218052d5dde35b11ae781d5a1f0e4179fd67fe0c Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Sat, 22 Mar 2025 18:05:47 +0100 Subject: [PATCH] chore(tests): fix typo [skip ci] --- test/integration/scenario/containers.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/scenario/containers.go b/test/integration/scenario/containers.go index 1d752ca..23f5f3c 100644 --- a/test/integration/scenario/containers.go +++ b/test/integration/scenario/containers.go @@ -35,9 +35,9 @@ func startGotenbergContainer(ctx context.Context, env map[string]string) (*testc return nil, nil, fmt.Errorf("create Gotenberg container network: %w", err) } - heathPath := "/health" + healthPath := "/health" if env["API_ROOT_PATH"] != "" { - heathPath = fmt.Sprintf("%shealth", env["API_ROOT_PATH"]) + healthPath = fmt.Sprintf("%shealth", env["API_ROOT_PATH"]) } req := testcontainers.ContainerRequest{ @@ -48,7 +48,7 @@ func startGotenbergContainer(ctx context.Context, env map[string]string) (*testc hostConfig.ExtraHosts = []string{"host.docker.internal:host-gateway"} }, Networks: []string{n.Name}, - WaitingFor: wait.ForHTTP(heathPath), + WaitingFor: wait.ForHTTP(healthPath), Env: env, }