From 537de3a837a5b04dcaa674748a03abdc0ee579e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Grof=C4=8D=C3=ADk?= Date: Fri, 2 Feb 2024 21:12:34 +0100 Subject: [PATCH 1/3] Update modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/HistoricProcessInstanceAssert.java Co-authored-by: David B Malkovsky --- .../assertions/process/HistoricProcessInstanceAssert.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/HistoricProcessInstanceAssert.java b/modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/HistoricProcessInstanceAssert.java index 1f043a95665..b131c20d282 100644 --- a/modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/HistoricProcessInstanceAssert.java +++ b/modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/HistoricProcessInstanceAssert.java @@ -65,7 +65,7 @@ public HistoricProcessInstanceAssert isFinished() { processExistsInHistory(); if (processServicesProvider.getHistoryService().createHistoricProcessInstanceQuery().finished().processInstanceId(actual.getId()).count() != 1) { - failWithMessage(getProcessDescription(actual)+" to be finished, but is running in history."); + failWithMessage(getProcessDescription(actual) + " to be finished, but is running in history."); } return this; From e3a3f49cb8ed12a9bea6ad4cd9ce0a19a326ff4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Grof=C4=8D=C3=ADk?= Date: Fri, 2 Feb 2024 21:13:31 +0100 Subject: [PATCH 2/3] Update modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/HistoricProcessInstanceAssert.java Co-authored-by: David B Malkovsky --- .../assertions/process/HistoricProcessInstanceAssert.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/HistoricProcessInstanceAssert.java b/modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/HistoricProcessInstanceAssert.java index b131c20d282..7ea7de6a9b4 100644 --- a/modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/HistoricProcessInstanceAssert.java +++ b/modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/HistoricProcessInstanceAssert.java @@ -88,7 +88,7 @@ public HistoricProcessInstanceAssert hasVariable(String variableName) { processExistsInHistory(); if (processServicesProvider.getHistoryService().createHistoricProcessInstanceQuery().processInstanceId(actual.getId()).variableExists(variableName).count() != 1) { - failWithMessage(getProcessDescription(actual)+" has variable <%s> but variable does not exist in history.", variableName); + failWithMessage(getProcessDescription(actual) + " has variable <%s> but variable does not exist in history.", variableName); } return this; From 363f2151961858bc2317ec34c3648167d1710757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Grof=C4=8D=C3=ADk?= Date: Fri, 2 Feb 2024 21:14:02 +0100 Subject: [PATCH 3/3] Update modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/ProcessInstanceAssert.java Co-authored-by: David B Malkovsky --- .../org/flowable/assertions/process/ProcessInstanceAssert.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/ProcessInstanceAssert.java b/modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/ProcessInstanceAssert.java index ac66bf97ffd..d0c3211e165 100644 --- a/modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/ProcessInstanceAssert.java +++ b/modules/flowable-assertions/flowable-process-assertions/src/main/java/org/flowable/assertions/process/ProcessInstanceAssert.java @@ -105,7 +105,7 @@ public ProcessInstanceAssert doesNotHaveVariable(String variableName) { } /** - * Assert that process instance does on exist in runtime. + * Assert that process instance does not exist in runtime. * * @return Process instance assertion */