fix platform workflow integrity and permissions
This commit is contained in:
@@ -148,7 +148,8 @@ func TestPlatformProductCommerceAndDeliveryRoutesFollowTheirContracts(t *testing
|
||||
assertNoRouteMethods(t, routes, path+"/:identity", http.MethodDelete)
|
||||
}
|
||||
owner := "/heqi/platform/v1/product_owner"
|
||||
assertRouteMethods(t, routes, owner, http.MethodGet, http.MethodPost)
|
||||
assertRouteMethods(t, routes, owner, http.MethodGet)
|
||||
assertNoRouteMethods(t, routes, owner, http.MethodPost)
|
||||
assertRouteMethods(t, routes, owner+"/:identity", http.MethodGet)
|
||||
assertNoRouteMethods(t, routes, owner+"/:identity", http.MethodPut, http.MethodPatch, http.MethodDelete)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user