调整gitlink相关接口用例
This commit is contained in:
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 获取项目分支列表
|
||||
severity:
|
||||
run: True
|
||||
url: /api/v1/${env_project_url}/branches.json
|
||||
url: /api/v1/${env_repo_owner}/${env_repo_identifier}/branches.json
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -14,7 +14,7 @@ case_info:
|
||||
title: 获取项目分支列表(无分页)
|
||||
severity:
|
||||
run: True
|
||||
url: /api/v1/${env_project_url}/branches/all.json
|
||||
url: /api/v1/${env_repo_owner}/${env_repo_identifier}/branches/all.json
|
||||
method: GET
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -15,7 +15,7 @@ case_info:
|
||||
title: 删除一个项目分支
|
||||
severity:
|
||||
run: True
|
||||
url: /api/v1/${env_project_url}/branches/${branch}.json
|
||||
url: /api/v1/${env_repo_owner}/${env_repo_identifier}/branches/${branch}.json
|
||||
method: DELETE
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -15,7 +15,7 @@ case_info:
|
||||
title: 创建一个项目分支
|
||||
severity:
|
||||
run: True
|
||||
url: /api/v1/${env_project_url}/branches.json
|
||||
url: /api/v1/${env_repo_owner}/${env_repo_identifier}/branches.json
|
||||
method: POST
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
@@ -15,7 +15,7 @@ case_info:
|
||||
title: 更新项目默认分支
|
||||
severity:
|
||||
run: True
|
||||
url: /api/${env_project_url}.json
|
||||
url: /api/${env_repo_owner}/${env_repo_identifier}.json
|
||||
method: PUT
|
||||
headers:
|
||||
Content-Type: application/json; charset=utf-8;
|
||||
|
||||
Reference in New Issue
Block a user