fix(用例管理): 修复用例评审创建并关联时,用例评审人和默认评审人不同保存结果相同问题
--bug=1036035 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001036035
This commit is contained in:
parent
7c50a78a8d
commit
f2e4816c64
|
@ -208,7 +208,7 @@ public class CaseReviewService {
|
|||
BaseAssociateCaseRequest baseAssociateCaseRequest = request.getBaseAssociateCaseRequest();
|
||||
List<String> caseIds = doSelectIds(baseAssociateCaseRequest, baseAssociateCaseRequest.getProjectId());
|
||||
CaseReview caseReview = addCaseReview(request, userId, caseReviewId, caseIds);
|
||||
addAssociate(request, userId, caseReviewId, caseIds, request.getReviewers());
|
||||
addAssociate(request, userId, caseReviewId, caseIds, baseAssociateCaseRequest.getReviewers());
|
||||
return caseReview;
|
||||
}
|
||||
|
||||
|
|
|
@ -421,6 +421,7 @@ public class ReviewFunctionalCaseControllerTests extends BaseTest {
|
|||
baseAssociateCaseRequest.setSelectAll(false);
|
||||
baseAssociateCaseRequest.setProjectId(projectId);
|
||||
baseAssociateCaseRequest.setSelectIds(caseIds);
|
||||
baseAssociateCaseRequest.setReviewers(reviewers);
|
||||
caseReviewRequest.setBaseAssociateCaseRequest(baseAssociateCaseRequest);
|
||||
List<String> tags = new ArrayList<>();
|
||||
tags.add("11");
|
||||
|
|
Loading…
Reference in New Issue