mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
change update from PUT method to PATCH (#440)
This commit is contained in:
@@ -219,7 +219,7 @@ func TestRouteUpdate(t *testing.T) {
|
||||
|
||||
body := bytes.NewBuffer([]byte(test.body))
|
||||
|
||||
_, rec := routerRequest(t, router, "PUT", test.path, body)
|
||||
_, rec := routerRequest(t, router, "PATCH", test.path, body)
|
||||
|
||||
if rec.Code != test.expectedCode {
|
||||
t.Log(buf.String())
|
||||
|
||||
Reference in New Issue
Block a user