提交 910229f0 编写于 作者: F Frederik Heremans

Revert "Added test for ACT-815 (not a bug)" -> test not useful

This reverts commit 6db0b491.
上级 6db0b491
......@@ -209,28 +209,6 @@ public class FullHistoryTest extends ResourceActivitiTestCase {
assertEquals(123456789L, historicVariable.getValue());
}
/**
* Test for ACT-815
*/
@Deployment(resources={"org/activiti/engine/test/history/oneTaskProcess.bpmn20.xml"})
public void testHistoricDetailsActivityInstanceId() throws Exception {
ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("oneTaskProcess");
runtimeService.setVariable(processInstance.getId(), "variableSetinProcess", "Hello world");
Task task = taskService.createTaskQuery().processInstanceId(processInstance.getId()).singleResult();
taskService.complete(task.getId(), Collections.singletonMap("variableSetInTask", (Object)"Activiti rocks"));
// Check historic details
List<HistoricDetail> details = historyService.createHistoricDetailQuery()
.processInstanceId(processInstance.getId())
.list();
assertEquals(2, details.size());
// Activity-ID should be set for both details
assertNotNull(details.get(0).getActivityInstanceId());
assertNotNull(details.get(1).getActivityInstanceId());
}
@Deployment(resources={"org/activiti/engine/test/history/oneTaskProcess.bpmn20.xml"})
public void testHistoricVariableInstanceQueryTaskVariables() {
Map<String, Object> variables = new HashMap<String, Object>();
......@@ -1380,4 +1358,3 @@ public class FullHistoryTest extends ResourceActivitiTestCase {
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册