Skip to content

Commit

Permalink
Use localhost in the step ca health CA url
Browse files Browse the repository at this point in the history
  • Loading branch information
hslatman committed Mar 5, 2024
1 parent efe7e38 commit eb5fbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/ca/health_test.go
Expand Up @@ -88,7 +88,7 @@ func Test_healthAction(t *testing.T) {

app := cli.NewApp()
app.Commands = cli.Commands{caCommand}
err = app.Run([]string{"step", "ca", "health", "--root", rootFilepath, "--ca-url", fmt.Sprintf("https://127.0.0.1:%s", port)})
err = app.Run([]string{"step", "ca", "health", "--root", rootFilepath, "--ca-url", fmt.Sprintf("https://localhost:%s", port)})
assert.NoError(t, err)

// done testing; stop and wait for the server to quit
Expand Down

0 comments on commit eb5fbfb

Please sign in to comment.