command/agent: fix url in jobs parse ep test
This commit is contained in:
parent
03a89060cf
commit
555b036369
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue