change update from PUT method to PATCH (#440)

This commit is contained in:
Pedro Nasser
2016-12-14 14:22:44 -02:00
committed by C Cirello
parent 3dc12d9f55
commit 4d7dde3486
5 changed files with 8 additions and 8 deletions

View File

@@ -232,7 +232,7 @@ func TestAppUpdate(t *testing.T) {
router := testRouter(test.mock, &mqs.Mock{}, rnr, tasks)
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())