Commit d7a97543 authored by Manuel Kieweg's avatar Manuel Kieweg 🤷
Browse files

nevermind the /api

parent 33762c8a
......@@ -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)
}
})
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment