fix(测试跟踪): 修复测试用例选择自动且关联用例为其他时,在测试计划中查看该用例出现问题

This commit is contained in:
Captain.B 2020-11-12 15:26:06 +08:00
parent 100798e0f2
commit 28aebdd2f0
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@ public class CheckOwnerService {
}
public void checkApiTestOwner(String testId) {
// 关联为其他时
if (StringUtils.equals("other", testId)) {
return;
}
String workspaceId = SessionUtils.getCurrentWorkspaceId();
QueryAPITestRequest request = new QueryAPITestRequest();
request.setWorkspaceId(workspaceId);