diff --git a/rules/camunda-cloud/collapsed-subprocess.js b/rules/camunda-cloud/collapsed-subprocess.js index 98bcd9b5..66adbabc 100644 --- a/rules/camunda-cloud/collapsed-subprocess.js +++ b/rules/camunda-cloud/collapsed-subprocess.js @@ -16,7 +16,7 @@ module.exports = skipInNonExecutableProcess(function() { const node = di.bpmnElement; const error = { - message: `A <${ node.$type }> must be expanded.`, + message: `A <${ node.$type }> must be expanded`, data: { type: ERROR_TYPES.ELEMENT_COLLAPSED_NOT_ALLOWED, node: node, diff --git a/test/camunda-cloud/collapsed-subprocess.spec.js b/test/camunda-cloud/collapsed-subprocess.spec.js index 34793735..5a1c4c7d 100644 --- a/test/camunda-cloud/collapsed-subprocess.spec.js +++ b/test/camunda-cloud/collapsed-subprocess.spec.js @@ -75,7 +75,7 @@ const invalid = [ `)), report: { id: 'SubProcess_1', - message: 'A must be expanded.', + message: 'A must be expanded', data: { type: ERROR_TYPES.ELEMENT_COLLAPSED_NOT_ALLOWED, node: 'SubProcess_1', @@ -101,7 +101,7 @@ const invalid = [ `)), report: { id: 'SubProcess_1', - message: 'A must be expanded.', + message: 'A must be expanded', data: { type: ERROR_TYPES.ELEMENT_COLLAPSED_NOT_ALLOWED, node: 'SubProcess_1', @@ -124,7 +124,7 @@ const invalid = [ `)), report: { id: 'SubProcess_1', - message: 'A must be expanded.', + message: 'A must be expanded', data: { type: ERROR_TYPES.ELEMENT_COLLAPSED_NOT_ALLOWED, node: 'SubProcess_1', @@ -150,7 +150,7 @@ const invalid = [ `)), report: { id: 'SubProcess_1', - message: 'A must be expanded.', + message: 'A must be expanded', data: { type: ERROR_TYPES.ELEMENT_COLLAPSED_NOT_ALLOWED, node: 'SubProcess_1',