This is an automated email from the ASF dual-hosted git repository. warren pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 63097dd14d433473ef1c49b033d8ac17bf81e06a Author: Klesh Wong <[email protected]> AuthorDate: Thu Jun 23 11:36:36 2022 +0800 fix: integration test --- test/api/task/task_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api/task/task_test.go b/test/api/task/task_test.go index 219af2dd..abc04b15 100644 --- a/test/api/task/task_test.go +++ b/test/api/task/task_test.go @@ -53,7 +53,7 @@ func TestNewTask(t *testing.T) { api.RegisterRouter(r) w := httptest.NewRecorder() - params := strings.NewReader(`{"name": "hello", "tasks": [[{ "plugin": "jira", "options": { "host": "www.jira.com" } }]]}`) + params := strings.NewReader(`{"name": "hello", "plan": [[{ "plugin": "jira", "options": { "host": "www.jira.com" } }]]}`) req, _ := http.NewRequest("POST", "/pipelines", params) r.ServeHTTP(w, req)
