mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 21:09:05 +01:00
fix: fix api test router init
This commit is contained in:
parent
3afe40083d
commit
63fb923995
@ -197,6 +197,8 @@ func TestRestApi(t *testing.T) {
|
||||
}
|
||||
|
||||
r := mux.NewRouter()
|
||||
r.PathPrefix("/api").Subrouter()
|
||||
r.StrictSlash(true)
|
||||
restapi.MountApiRoutes(r)
|
||||
|
||||
const startJobBody string = `{
|
||||
|
Loading…
Reference in New Issue
Block a user