Skip to content
Snippets Groups Projects
Commit d7a97543 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

nevermind the /api

parent 33762c8a
No related branches found
No related tags found
1 merge request!128Prepare k8s deployment
Pipeline #67650 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment