fixing unit test

This commit is contained in:
josebarn
2017-08-16 08:32:01 -03:00
parent b138870433
commit e06929fc1d

View File

@@ -33,7 +33,7 @@ func TestPostRoute(t *testing.T) {
ts := httptest.NewServer(r)
defer ts.Close()
rx := Response{}
_, resp := testRequest(t, ts, "POST", "/app/1", nil)
_, resp := testRequest(t, ts, "POST", "/api/id/1", nil)
err := json.Unmarshal([]byte(resp), &rx)
if err != nil {
t.Fatalf("Response incorrect form ", resp)