test(flow): source 端点补 ref 重写断言(评审 M-1)
中文 fixture 测试追加断言:sequenceFlow 的 sourceRef 引用须随 process id 一致重写,净化后 XML 不含 sourceRef="总包合同交底",让 ref 重写不白放。 ProcessDiagramControllerTest 7/7 绿(JDK21)。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -181,7 +181,10 @@ class ProcessDiagramControllerTest {
|
||||
.andExpect(jsonPath("$.idMap").isNotEmpty())
|
||||
.andExpect(jsonPath("$.idMap['总包合同交底']").isNotEmpty())
|
||||
.andExpect(jsonPath("$.bpmnXml",
|
||||
org.hamcrest.Matchers.not(org.hamcrest.Matchers.containsString("id=\"总包合同交底\""))));
|
||||
org.hamcrest.Matchers.not(org.hamcrest.Matchers.containsString("id=\"总包合同交底\""))))
|
||||
// sequenceFlow 的 sourceRef 引用也须随 process id 一致重写,不白放(评审 M-1)
|
||||
.andExpect(jsonPath("$.bpmnXml",
|
||||
org.hamcrest.Matchers.not(org.hamcrest.Matchers.containsString("sourceRef=\"总包合同交底\""))));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user