command/agent: fix url in jobs parse ep test

This commit is contained in:
Nick Ethier 2018-04-16 19:18:33 -04:00
parent 03a89060cf
commit 555b036369
No known key found for this signature in database
GPG key ID: 07C1A3ECED90D24A

View file

@ -276,7 +276,7 @@ func TestHTTP_JobsParse(t *testing.T) {
t.Parallel()
httpTest(t, nil, func(s *TestAgent) {
buf := encodeReq(api.JobsParseRequest{JobHCL: mock.HCL()})
req, err := http.NewRequest("POST", "/v1/jobs/render", buf)
req, err := http.NewRequest("POST", "/v1/jobs/parse", buf)
if err != nil {
t.Fatalf("err: %v", err)
}