diff --git a/test/devdata/action.yaml b/test/data/dev/action.yaml similarity index 100% rename from test/devdata/action.yaml rename to test/data/dev/action.yaml diff --git a/test/devdata/asset.yaml b/test/data/dev/asset.yaml similarity index 100% rename from test/devdata/asset.yaml rename to test/data/dev/asset.yaml diff --git a/test/devdata/block.yaml b/test/data/dev/block.yaml similarity index 100% rename from test/devdata/block.yaml rename to test/data/dev/block.yaml diff --git a/test/devdata/branch.yaml b/test/data/dev/branch.yaml similarity index 100% rename from test/devdata/branch.yaml rename to test/data/dev/branch.yaml diff --git a/test/devdata/bug.yaml b/test/data/dev/bug.yaml similarity index 100% rename from test/devdata/bug.yaml rename to test/data/dev/bug.yaml diff --git a/test/devdata/bugmodule.yaml b/test/data/dev/bugmodule.yaml similarity index 100% rename from test/devdata/bugmodule.yaml rename to test/data/dev/bugmodule.yaml diff --git a/test/devdata/bugmoduleson.yaml b/test/data/dev/bugmoduleson.yaml similarity index 100% rename from test/devdata/bugmoduleson.yaml rename to test/data/dev/bugmoduleson.yaml diff --git a/test/devdata/build.yaml b/test/data/dev/build.yaml similarity index 100% rename from test/devdata/build.yaml rename to test/data/dev/build.yaml diff --git a/test/devdata/case.yaml b/test/data/dev/case.yaml similarity index 100% rename from test/devdata/case.yaml rename to test/data/dev/case.yaml diff --git a/test/devdata/casemodule.yaml b/test/data/dev/casemodule.yaml similarity index 100% rename from test/devdata/casemodule.yaml rename to test/data/dev/casemodule.yaml diff --git a/test/devdata/casemoduleson.yaml b/test/data/dev/casemoduleson.yaml similarity index 100% rename from test/devdata/casemoduleson.yaml rename to test/data/dev/casemoduleson.yaml diff --git a/test/devdata/casestep.yaml b/test/data/dev/casestep.yaml similarity index 100% rename from test/devdata/casestep.yaml rename to test/data/dev/casestep.yaml diff --git a/test/devdata/childstory.yaml b/test/data/dev/childstory.yaml similarity index 100% rename from test/devdata/childstory.yaml rename to test/data/dev/childstory.yaml diff --git a/test/devdata/common/color/v1.yaml b/test/data/dev/common/color/v1.yaml similarity index 100% rename from test/devdata/common/color/v1.yaml rename to test/data/dev/common/color/v1.yaml diff --git a/test/devdata/common/date/v1.yaml b/test/data/dev/common/date/v1.yaml similarity index 100% rename from test/devdata/common/date/v1.yaml rename to test/data/dev/common/date/v1.yaml diff --git a/test/devdata/common/file/v1.yaml b/test/data/dev/common/file/v1.yaml similarity index 100% rename from test/devdata/common/file/v1.yaml rename to test/data/dev/common/file/v1.yaml diff --git a/test/devdata/common/groups/v1.yaml b/test/data/dev/common/groups/v1.yaml similarity index 100% rename from test/devdata/common/groups/v1.yaml rename to test/data/dev/common/groups/v1.yaml diff --git a/test/devdata/common/ip/v1.yaml b/test/data/dev/common/ip/v1.yaml similarity index 100% rename from test/devdata/common/ip/v1.yaml rename to test/data/dev/common/ip/v1.yaml diff --git a/test/devdata/common/phone/v1.yaml b/test/data/dev/common/phone/v1.yaml similarity index 100% rename from test/devdata/common/phone/v1.yaml rename to test/data/dev/common/phone/v1.yaml diff --git a/test/devdata/common/user/v1.yaml b/test/data/dev/common/user/v1.yaml similarity index 100% rename from test/devdata/common/user/v1.yaml rename to test/data/dev/common/user/v1.yaml diff --git a/test/devdata/common/version/v1.yaml b/test/data/dev/common/version/v1.yaml similarity index 100% rename from test/devdata/common/version/v1.yaml rename to test/data/dev/common/version/v1.yaml diff --git a/test/devdata/company.yaml b/test/data/dev/company.yaml similarity index 100% rename from test/devdata/company.yaml rename to test/data/dev/company.yaml diff --git a/test/devdata/dept.yaml b/test/data/dev/dept.yaml similarity index 100% rename from test/devdata/dept.yaml rename to test/data/dev/dept.yaml diff --git a/test/devdata/design.yaml b/test/data/dev/design.yaml similarity index 100% rename from test/devdata/design.yaml rename to test/data/dev/design.yaml diff --git a/test/devdata/designspec.yaml b/test/data/dev/designspec.yaml similarity index 100% rename from test/devdata/designspec.yaml rename to test/data/dev/designspec.yaml diff --git a/test/devdata/doc.yaml b/test/data/dev/doc.yaml similarity index 100% rename from test/devdata/doc.yaml rename to test/data/dev/doc.yaml diff --git a/test/devdata/doccontent.yaml b/test/data/dev/doccontent.yaml similarity index 100% rename from test/devdata/doccontent.yaml rename to test/data/dev/doccontent.yaml diff --git a/test/devdata/doclib.yaml b/test/data/dev/doclib.yaml similarity index 100% rename from test/devdata/doclib.yaml rename to test/data/dev/doclib.yaml diff --git a/test/devdata/docmodule.yaml b/test/data/dev/docmodule.yaml similarity index 100% rename from test/devdata/docmodule.yaml rename to test/data/dev/docmodule.yaml diff --git a/test/devdata/docmoduleson.yaml b/test/data/dev/docmoduleson.yaml similarity index 100% rename from test/devdata/docmoduleson.yaml rename to test/data/dev/docmoduleson.yaml diff --git a/test/devdata/effort.yaml b/test/data/dev/effort.yaml similarity index 100% rename from test/devdata/effort.yaml rename to test/data/dev/effort.yaml diff --git a/test/devdata/entry.yaml b/test/data/dev/entry.yaml similarity index 100% rename from test/devdata/entry.yaml rename to test/data/dev/entry.yaml diff --git a/test/devdata/execution.yaml b/test/data/dev/execution.yaml similarity index 100% rename from test/devdata/execution.yaml rename to test/data/dev/execution.yaml diff --git a/test/devdata/executionson.yaml b/test/data/dev/executionson.yaml similarity index 100% rename from test/devdata/executionson.yaml rename to test/data/dev/executionson.yaml diff --git a/test/devdata/executionstory.yaml b/test/data/dev/executionstory.yaml similarity index 100% rename from test/devdata/executionstory.yaml rename to test/data/dev/executionstory.yaml diff --git a/test/devdata/exefather.yaml b/test/data/dev/exefather.yaml similarity index 100% rename from test/devdata/exefather.yaml rename to test/data/dev/exefather.yaml diff --git a/test/devdata/expect.yaml b/test/data/dev/expect.yaml similarity index 100% rename from test/devdata/expect.yaml rename to test/data/dev/expect.yaml diff --git a/test/devdata/extension.yaml b/test/data/dev/extension.yaml similarity index 100% rename from test/devdata/extension.yaml rename to test/data/dev/extension.yaml diff --git a/test/devdata/feedback.yaml b/test/data/dev/feedback.yaml similarity index 100% rename from test/devdata/feedback.yaml rename to test/data/dev/feedback.yaml diff --git a/test/devdata/feedbackmodule.yaml b/test/data/dev/feedbackmodule.yaml similarity index 100% rename from test/devdata/feedbackmodule.yaml rename to test/data/dev/feedbackmodule.yaml diff --git a/test/devdata/feedbackmoduleson.yaml b/test/data/dev/feedbackmoduleson.yaml similarity index 100% rename from test/devdata/feedbackmoduleson.yaml rename to test/data/dev/feedbackmoduleson.yaml diff --git a/test/devdata/file.yaml b/test/data/dev/file.yaml similarity index 100% rename from test/devdata/file.yaml rename to test/data/dev/file.yaml diff --git a/test/devdata/history.yaml b/test/data/dev/history.yaml similarity index 100% rename from test/devdata/history.yaml rename to test/data/dev/history.yaml diff --git a/test/devdata/holiday.yaml b/test/data/dev/holiday.yaml similarity index 100% rename from test/devdata/holiday.yaml rename to test/data/dev/holiday.yaml diff --git a/test/devdata/host.yaml b/test/data/dev/host.yaml similarity index 100% rename from test/devdata/host.yaml rename to test/data/dev/host.yaml diff --git a/test/devdata/job.yaml b/test/data/dev/job.yaml similarity index 100% rename from test/devdata/job.yaml rename to test/data/dev/job.yaml diff --git a/test/devdata/kanban.yaml b/test/data/dev/kanban.yaml similarity index 100% rename from test/devdata/kanban.yaml rename to test/data/dev/kanban.yaml diff --git a/test/devdata/kanbancard.yaml b/test/data/dev/kanbancard.yaml similarity index 100% rename from test/devdata/kanbancard.yaml rename to test/data/dev/kanbancard.yaml diff --git a/test/devdata/kanbancell.yaml b/test/data/dev/kanbancell.yaml similarity index 100% rename from test/devdata/kanbancell.yaml rename to test/data/dev/kanbancell.yaml diff --git a/test/devdata/kanbancellproject.yaml b/test/data/dev/kanbancellproject.yaml similarity index 100% rename from test/devdata/kanbancellproject.yaml rename to test/data/dev/kanbancellproject.yaml diff --git a/test/devdata/kanbancolumn.yaml b/test/data/dev/kanbancolumn.yaml similarity index 100% rename from test/devdata/kanbancolumn.yaml rename to test/data/dev/kanbancolumn.yaml diff --git a/test/devdata/kanbancolumnproject.yaml b/test/data/dev/kanbancolumnproject.yaml similarity index 100% rename from test/devdata/kanbancolumnproject.yaml rename to test/data/dev/kanbancolumnproject.yaml diff --git a/test/devdata/kanbangroup.yaml b/test/data/dev/kanbangroup.yaml similarity index 100% rename from test/devdata/kanbangroup.yaml rename to test/data/dev/kanbangroup.yaml diff --git a/test/devdata/kanbangroupproject.yaml b/test/data/dev/kanbangroupproject.yaml similarity index 100% rename from test/devdata/kanbangroupproject.yaml rename to test/data/dev/kanbangroupproject.yaml diff --git a/test/devdata/kanbanlane.yaml b/test/data/dev/kanbanlane.yaml similarity index 100% rename from test/devdata/kanbanlane.yaml rename to test/data/dev/kanbanlane.yaml diff --git a/test/devdata/kanbanlaneproject.yaml b/test/data/dev/kanbanlaneproject.yaml similarity index 100% rename from test/devdata/kanbanlaneproject.yaml rename to test/data/dev/kanbanlaneproject.yaml diff --git a/test/devdata/kanbanregion.yaml b/test/data/dev/kanbanregion.yaml similarity index 100% rename from test/devdata/kanbanregion.yaml rename to test/data/dev/kanbanregion.yaml diff --git a/test/devdata/kanbanregionproject.yaml b/test/data/dev/kanbanregionproject.yaml similarity index 100% rename from test/devdata/kanbanregionproject.yaml rename to test/data/dev/kanbanregionproject.yaml diff --git a/test/devdata/kanbanspace.yaml b/test/data/dev/kanbanspace.yaml similarity index 100% rename from test/devdata/kanbanspace.yaml rename to test/data/dev/kanbanspace.yaml diff --git a/test/devdata/libcase.yaml b/test/data/dev/libcase.yaml similarity index 100% rename from test/devdata/libcase.yaml rename to test/data/dev/libcase.yaml diff --git a/test/devdata/log.yaml b/test/data/dev/log.yaml similarity index 100% rename from test/devdata/log.yaml rename to test/data/dev/log.yaml diff --git a/test/devdata/meeting.yaml b/test/data/dev/meeting.yaml similarity index 100% rename from test/devdata/meeting.yaml rename to test/data/dev/meeting.yaml diff --git a/test/devdata/module.yaml b/test/data/dev/module.yaml similarity index 100% rename from test/devdata/module.yaml rename to test/data/dev/module.yaml diff --git a/test/devdata/morebug.yaml b/test/data/dev/morebug.yaml similarity index 100% rename from test/devdata/morebug.yaml rename to test/data/dev/morebug.yaml diff --git a/test/devdata/moretask.yaml b/test/data/dev/moretask.yaml similarity index 100% rename from test/devdata/moretask.yaml rename to test/data/dev/moretask.yaml diff --git a/test/devdata/mr.yaml b/test/data/dev/mr.yaml similarity index 100% rename from test/devdata/mr.yaml rename to test/data/dev/mr.yaml diff --git a/test/devdata/notify.yaml b/test/data/dev/notify.yaml similarity index 100% rename from test/devdata/notify.yaml rename to test/data/dev/notify.yaml diff --git a/test/devdata/oauth.yaml b/test/data/dev/oauth.yaml similarity index 100% rename from test/devdata/oauth.yaml rename to test/data/dev/oauth.yaml diff --git a/test/devdata/pipeline.yaml b/test/data/dev/pipeline.yaml similarity index 100% rename from test/devdata/pipeline.yaml rename to test/data/dev/pipeline.yaml diff --git a/test/devdata/planstory.yaml b/test/data/dev/planstory.yaml similarity index 100% rename from test/devdata/planstory.yaml rename to test/data/dev/planstory.yaml diff --git a/test/devdata/product.yaml b/test/data/dev/product.yaml similarity index 100% rename from test/devdata/product.yaml rename to test/data/dev/product.yaml diff --git a/test/devdata/productalone.yaml b/test/data/dev/productalone.yaml similarity index 100% rename from test/devdata/productalone.yaml rename to test/data/dev/productalone.yaml diff --git a/test/devdata/productline.yaml b/test/data/dev/productline.yaml similarity index 100% rename from test/devdata/productline.yaml rename to test/data/dev/productline.yaml diff --git a/test/devdata/productplan.yaml b/test/data/dev/productplan.yaml similarity index 100% rename from test/devdata/productplan.yaml rename to test/data/dev/productplan.yaml diff --git a/test/devdata/productsonplan.yaml b/test/data/dev/productsonplan.yaml similarity index 100% rename from test/devdata/productsonplan.yaml rename to test/data/dev/productsonplan.yaml diff --git a/test/devdata/program.yaml b/test/data/dev/program.yaml similarity index 100% rename from test/devdata/program.yaml rename to test/data/dev/program.yaml diff --git a/test/devdata/project.yaml b/test/data/dev/project.yaml similarity index 100% rename from test/devdata/project.yaml rename to test/data/dev/project.yaml diff --git a/test/devdata/projectalone.yaml b/test/data/dev/projectalone.yaml similarity index 100% rename from test/devdata/projectalone.yaml rename to test/data/dev/projectalone.yaml diff --git a/test/devdata/projectcase.yaml b/test/data/dev/projectcase.yaml similarity index 100% rename from test/devdata/projectcase.yaml rename to test/data/dev/projectcase.yaml diff --git a/test/devdata/projectproduct.yaml b/test/data/dev/projectproduct.yaml similarity index 100% rename from test/devdata/projectproduct.yaml rename to test/data/dev/projectproduct.yaml diff --git a/test/devdata/projectproductalone.yaml b/test/data/dev/projectproductalone.yaml similarity index 100% rename from test/devdata/projectproductalone.yaml rename to test/data/dev/projectproductalone.yaml diff --git a/test/devdata/projectstory.yaml b/test/data/dev/projectstory.yaml similarity index 100% rename from test/devdata/projectstory.yaml rename to test/data/dev/projectstory.yaml diff --git a/test/devdata/relation.yaml b/test/data/dev/relation.yaml similarity index 100% rename from test/devdata/relation.yaml rename to test/data/dev/relation.yaml diff --git a/test/devdata/release.yaml b/test/data/dev/release.yaml similarity index 100% rename from test/devdata/release.yaml rename to test/data/dev/release.yaml diff --git a/test/devdata/repo.yaml b/test/data/dev/repo.yaml similarity index 100% rename from test/devdata/repo.yaml rename to test/data/dev/repo.yaml diff --git a/test/devdata/score.yaml b/test/data/dev/score.yaml similarity index 100% rename from test/devdata/score.yaml rename to test/data/dev/score.yaml diff --git a/test/devdata/stage.yaml b/test/data/dev/stage.yaml similarity index 100% rename from test/devdata/stage.yaml rename to test/data/dev/stage.yaml diff --git a/test/devdata/stakeholder.yaml b/test/data/dev/stakeholder.yaml similarity index 100% rename from test/devdata/stakeholder.yaml rename to test/data/dev/stakeholder.yaml diff --git a/test/devdata/story.yaml b/test/data/dev/story.yaml similarity index 100% rename from test/devdata/story.yaml rename to test/data/dev/story.yaml diff --git a/test/devdata/storyestimate.yaml b/test/data/dev/storyestimate.yaml similarity index 100% rename from test/devdata/storyestimate.yaml rename to test/data/dev/storyestimate.yaml diff --git a/test/devdata/storymodule.yaml b/test/data/dev/storymodule.yaml similarity index 100% rename from test/devdata/storymodule.yaml rename to test/data/dev/storymodule.yaml diff --git a/test/devdata/storymoduleson.yaml b/test/data/dev/storymoduleson.yaml similarity index 100% rename from test/devdata/storymoduleson.yaml rename to test/data/dev/storymoduleson.yaml diff --git a/test/devdata/storyreview.yaml b/test/data/dev/storyreview.yaml similarity index 100% rename from test/devdata/storyreview.yaml rename to test/data/dev/storyreview.yaml diff --git a/test/devdata/storyspec.yaml b/test/data/dev/storyspec.yaml similarity index 100% rename from test/devdata/storyspec.yaml rename to test/data/dev/storyspec.yaml diff --git a/test/devdata/storystage.yaml b/test/data/dev/storystage.yaml similarity index 100% rename from test/devdata/storystage.yaml rename to test/data/dev/storystage.yaml diff --git a/test/devdata/suitecase.yaml b/test/data/dev/suitecase.yaml similarity index 100% rename from test/devdata/suitecase.yaml rename to test/data/dev/suitecase.yaml diff --git a/test/devdata/task.yaml b/test/data/dev/task.yaml similarity index 100% rename from test/devdata/task.yaml rename to test/data/dev/task.yaml diff --git a/test/devdata/taskestimate.yaml b/test/data/dev/taskestimate.yaml similarity index 100% rename from test/devdata/taskestimate.yaml rename to test/data/dev/taskestimate.yaml diff --git a/test/devdata/taskmodule.yaml b/test/data/dev/taskmodule.yaml similarity index 100% rename from test/devdata/taskmodule.yaml rename to test/data/dev/taskmodule.yaml diff --git a/test/devdata/taskmoduleson.yaml b/test/data/dev/taskmoduleson.yaml similarity index 100% rename from test/devdata/taskmoduleson.yaml rename to test/data/dev/taskmoduleson.yaml diff --git a/test/devdata/taskson.yaml b/test/data/dev/taskson.yaml similarity index 100% rename from test/devdata/taskson.yaml rename to test/data/dev/taskson.yaml diff --git a/test/devdata/taskspec.yaml b/test/data/dev/taskspec.yaml similarity index 100% rename from test/devdata/taskspec.yaml rename to test/data/dev/taskspec.yaml diff --git a/test/devdata/team.yaml b/test/data/dev/team.yaml similarity index 100% rename from test/devdata/team.yaml rename to test/data/dev/team.yaml diff --git a/test/devdata/teamtask.yaml b/test/data/dev/teamtask.yaml similarity index 100% rename from test/devdata/teamtask.yaml rename to test/data/dev/teamtask.yaml diff --git a/test/devdata/testreport.yaml b/test/data/dev/testreport.yaml similarity index 100% rename from test/devdata/testreport.yaml rename to test/data/dev/testreport.yaml diff --git a/test/devdata/testresult.yaml b/test/data/dev/testresult.yaml similarity index 100% rename from test/devdata/testresult.yaml rename to test/data/dev/testresult.yaml diff --git a/test/devdata/testrun.yaml b/test/data/dev/testrun.yaml similarity index 100% rename from test/devdata/testrun.yaml rename to test/data/dev/testrun.yaml diff --git a/test/devdata/testsuite.yaml b/test/data/dev/testsuite.yaml similarity index 100% rename from test/devdata/testsuite.yaml rename to test/data/dev/testsuite.yaml diff --git a/test/devdata/testtask.yaml b/test/data/dev/testtask.yaml similarity index 100% rename from test/devdata/testtask.yaml rename to test/data/dev/testtask.yaml diff --git a/test/devdata/todo.yaml b/test/data/dev/todo.yaml similarity index 100% rename from test/devdata/todo.yaml rename to test/data/dev/todo.yaml diff --git a/test/devdata/todocycle.yaml b/test/data/dev/todocycle.yaml similarity index 100% rename from test/devdata/todocycle.yaml rename to test/data/dev/todocycle.yaml diff --git a/test/devdata/unitcase.yaml b/test/data/dev/unitcase.yaml similarity index 100% rename from test/devdata/unitcase.yaml rename to test/data/dev/unitcase.yaml diff --git a/test/devdata/user.yaml b/test/data/dev/user.yaml similarity index 100% rename from test/devdata/user.yaml rename to test/data/dev/user.yaml diff --git a/test/devdata/usercontact.yaml b/test/data/dev/usercontact.yaml similarity index 100% rename from test/devdata/usercontact.yaml rename to test/data/dev/usercontact.yaml diff --git a/test/devdata/usergroup.yaml b/test/data/dev/usergroup.yaml similarity index 100% rename from test/devdata/usergroup.yaml rename to test/data/dev/usergroup.yaml diff --git a/test/devdata/userquery.yaml b/test/data/dev/userquery.yaml similarity index 100% rename from test/devdata/userquery.yaml rename to test/data/dev/userquery.yaml diff --git a/test/devdata/usertpl.yaml b/test/data/dev/usertpl.yaml similarity index 100% rename from test/devdata/usertpl.yaml rename to test/data/dev/usertpl.yaml diff --git a/test/devdata/userview.yaml b/test/data/dev/userview.yaml similarity index 100% rename from test/devdata/userview.yaml rename to test/data/dev/userview.yaml diff --git a/test/devdata/vm.yaml b/test/data/dev/vm.yaml similarity index 100% rename from test/devdata/vm.yaml rename to test/data/dev/vm.yaml diff --git a/test/devdata/vmtemplate.yaml b/test/data/dev/vmtemplate.yaml similarity index 100% rename from test/devdata/vmtemplate.yaml rename to test/data/dev/vmtemplate.yaml diff --git a/test/devdata/webhook.yaml b/test/data/dev/webhook.yaml similarity index 100% rename from test/devdata/webhook.yaml rename to test/data/dev/webhook.yaml diff --git a/test/devdata/weeklyreport.yaml b/test/data/dev/weeklyreport.yaml similarity index 100% rename from test/devdata/weeklyreport.yaml rename to test/data/dev/weeklyreport.yaml diff --git a/test/devdata/zentao/blockdefault.yaml b/test/data/dev/zentao/blockdefault.yaml similarity index 100% rename from test/devdata/zentao/blockdefault.yaml rename to test/data/dev/zentao/blockdefault.yaml diff --git a/test/devdata/zentao/blockrandom.yaml b/test/data/dev/zentao/blockrandom.yaml similarity index 100% rename from test/devdata/zentao/blockrandom.yaml rename to test/data/dev/zentao/blockrandom.yaml diff --git a/test/devdata/zentao/config.php b/test/data/dev/zentao/config.php similarity index 100% rename from test/devdata/zentao/config.php rename to test/data/dev/zentao/config.php diff --git a/test/devdata/zentao/processor.php b/test/data/dev/zentao/processor.php similarity index 100% rename from test/devdata/zentao/processor.php rename to test/data/dev/zentao/processor.php diff --git a/test/lib/utils.php b/test/lib/utils.php index 70a2ad5e62..b0c4a3f6e8 100755 --- a/test/lib/utils.php +++ b/test/lib/utils.php @@ -132,7 +132,7 @@ function zdRun($isDev = false) if($isDev === true) { if(isset($config->db->devDbName)) $dao->exec("set global sql_mode = ''; set global max_allowed_packet = 1000000000; set global net_buffer_length = 10000000; use {$config->db->devDbName};"); - $zdRoot = dirname(dirname(__FILE__)) . "/devdata/"; + $zdRoot = dirname(dirname(__FILE__)) . "/data/dev/"; } $zdPath = RUNTIME_ROOT . 'zd';