Skip to content

Commit

Permalink
Merge remote-tracking branch 'downstream/#3835_fluent_assertions' int…
Browse files Browse the repository at this point in the history
…o #3835_fluent_assertions
  • Loading branch information
martin-grofcik committed Feb 2, 2024
2 parents c14a452 + 363f215 commit ee24b3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,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;
Expand All @@ -87,7 +87,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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public ProcessInstanceAssert doesNotHaveVariable(String variableName) {
}

/**
* Assert that process instance does on exist in <b>runtime</b>.
* Assert that process instance does not exist in <b>runtime</b>.
*
* @return Process instance assertion
*/
Expand Down

0 comments on commit ee24b3c

Please sign in to comment.