diff --git a/nucleus/controller_test.go b/nucleus/controller_test.go index b04349038c6687b9349e518c7947b17eaed82659..47fa1026ccc54a35ca3296ce0779fc58af856e9b 100644 --- a/nucleus/controller_test.go +++ b/nucleus/controller_test.go @@ -47,7 +47,7 @@ func TestRun(t *testing.T) { return } if !reflect.DeepEqual(got.StatusCode, tests[0].want) { - t.Errorf("Run() got: %v, want %v", got.StatusCode, tests[0].want) + t.Errorf("livez got: %v, want %v", got.StatusCode, tests[0].want) } got, err = http.Get(tests[0].args.request) if err != nil { @@ -55,7 +55,7 @@ func TestRun(t *testing.T) { return } if !reflect.DeepEqual(got.StatusCode, tests[1].want) { - t.Errorf("Run() got: %v, want %v", got.StatusCode, tests[1].want) + t.Errorf("readyz got: %v, want %v", got.StatusCode, tests[1].want) } got, err = http.Get(tests[0].args.request) if err != nil { @@ -63,7 +63,7 @@ func TestRun(t *testing.T) { return } if !reflect.DeepEqual(got.StatusCode, tests[2].want) { - t.Errorf("Run() got: %v, want %v", got.StatusCode, tests[2].want) + t.Errorf("api init got: %v, want %v", got.StatusCode, tests[2].want) } }) diff --git a/nucleus/initialise_test.go b/nucleus/initialise_test.go index f688257fa1ab1e1572ede76864a0e23b0b2c6f16..6c90b054e44d009e03542821ced09f46cd65bb49 100644 --- a/nucleus/initialise_test.go +++ b/nucleus/initialise_test.go @@ -15,7 +15,7 @@ import ( "testing" ) -const apiEndpoint = "http://localhost:8080/api" +const apiEndpoint = "http://localhost:8080" // UUIDs for test cases var did uuid.UUID