Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

Commit ed4d805

Browse files
committed
chore(IT): add missing historyLvl annotation for FormServiceTest
related to #146
1 parent 94a509c commit ed4d805

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

engine/src/test/java/org/camunda/bpm/engine/test/api/form/FormServiceTest.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,6 @@ public void testSubmitTaskFormForCmmnHumanTask() {
625625
.putValueTyped("object", objectValue(serializedValue).create()));
626626
}
627627

628-
629628
@Deployment
630629
@Test
631630
public void testSubmitStartFormWithBusinessKey() {
@@ -686,7 +685,6 @@ public void testSubmitStartFormWithExecutionListenerOnStartEvent() {
686685
assertThat(variableEvents.get(1)).containsExactly(entry("foo", "bar"));
687686
}
688687

689-
690688
@Test
691689
@RequiredHistoryLevel(ProcessEngineConfiguration.HISTORY_FULL)
692690
public void testSubmitStartFormWithAsyncStartEvent() {
@@ -715,7 +713,6 @@ public void testSubmitStartFormWithAsyncStartEvent() {
715713
assertThat(historicVariable.getValue()).isEqualTo("bar");
716714
}
717715

718-
719716
@Test
720717
public void testSubmitStartFormWithAsyncStartEventExecuteJob() {
721718
// given
@@ -1215,8 +1212,6 @@ public Boolean execute(CommandContext commandContext) {
12151212
assertThat(hasLoadedAnyVariables).isFalse();
12161213
}
12171214

1218-
1219-
12201215
@Test
12211216
@Deployment(resources = "org/camunda/bpm/engine/test/api/twoTasksProcess.bpmn20.xml")
12221217
public void testSubmitTaskFormWithVarialbesInReturnShouldDeserializeObjectValue()
@@ -1659,6 +1654,7 @@ public void testGetDeployedTaskFormWithWrongKeyFormat() {
16591654
}
16601655
}
16611656

1657+
@RequiredHistoryLevel(ProcessEngineConfiguration.HISTORY_ACTIVITY)
16621658
@Deployment(resources = {
16631659
"org/camunda/bpm/engine/test/api/form/FormServiceTest.shouldSubmitStartFormUsingFormKeyAndCamundaFormDefinition.bpmn",
16641660
"org/camunda/bpm/engine/test/api/form/start.form" })
@@ -1679,6 +1675,7 @@ public void shouldSubmitStartFormUsingFormKeyAndCamundaFormDefinition() {
16791675
assertThat(historyService.createHistoricProcessInstanceQuery().processInstanceId(processInstance.getId()).list()).hasSize(1);
16801676
}
16811677

1678+
@RequiredHistoryLevel(ProcessEngineConfiguration.HISTORY_ACTIVITY)
16821679
@Deployment(resources = {
16831680
"org/camunda/bpm/engine/test/api/form/FormServiceTest.shouldSubmitTaskFormUsingFormKeyAndCamundaFormDefinition.bpmn",
16841681
"org/camunda/bpm/engine/test/api/form/task.form" })
@@ -1699,6 +1696,7 @@ public void shouldSubmitTaskFormUsingFormKeyAndCamundaFormDefinition() {
16991696
assertThat(taskService.createTaskQuery().list()).hasSize(0);
17001697
}
17011698

1699+
@RequiredHistoryLevel(ProcessEngineConfiguration.HISTORY_ACTIVITY)
17021700
@Deployment(resources = {
17031701
"org/camunda/bpm/engine/test/api/form/FormServiceTest.shouldSubmitStartFormUsingFormRefAndCamundaFormDefinition.bpmn",
17041702
"org/camunda/bpm/engine/test/api/form/start.form" })
@@ -1720,6 +1718,7 @@ public void shouldSubmitStartFormUsingFormRefAndCamundaFormDefinition() {
17201718
assertThat(historyService.createHistoricProcessInstanceQuery().processInstanceId(processInstance.getId()).list()).hasSize(1);
17211719
}
17221720

1721+
@RequiredHistoryLevel(ProcessEngineConfiguration.HISTORY_ACTIVITY)
17231722
@Deployment(resources = {
17241723
"org/camunda/bpm/engine/test/api/form/FormServiceTest.shouldSubmitTaskFormUsingFormRefAndCamundaFormDefinition.bpmn",
17251724
"org/camunda/bpm/engine/test/api/form/task.form" })

0 commit comments

Comments
 (0)