fix: fix api test router init

This commit is contained in:
Christoph Kluge 2024-07-05 13:16:21 +02:00
parent 3afe40083d
commit 63fb923995

View File

@ -197,6 +197,8 @@ func TestRestApi(t *testing.T) {
} }
r := mux.NewRouter() r := mux.NewRouter()
r.PathPrefix("/api").Subrouter()
r.StrictSlash(true)
restapi.MountApiRoutes(r) restapi.MountApiRoutes(r)
const startJobBody string = `{ const startJobBody string = `{