Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
csouchet committed Oct 3, 2023
1 parent faf4675 commit 7f88cbc
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions test/unit/helpers/JsonBuilder.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2835,10 +2835,10 @@ describe('build json', () => {
definitions: {
targetNamespace: '',
collaboration: { id: 'collaboration_id_0' },
linkEventDefinition: { id: 'event_definition_id' },
linkEventDefinition: { id: 'link_event_definition_id_0_0' },
process: {
id: '0',
intermediateCatchEvent: { id: 'event_id_0_0', source: 'event_definition_source_id', eventDefinitionRef: 'event_definition_id' },
intermediateCatchEvent: { id: 'event_id_0_0', source: 'event_definition_source_id', eventDefinitionRef: 'link_event_definition_id_0_0' },
},
BPMNDiagram: {
name: 'process 0',
Expand Down Expand Up @@ -2871,10 +2871,14 @@ describe('build json', () => {
definitions: {
targetNamespace: '',
collaboration: { id: 'collaboration_id_0' },
linkEventDefinition: { id: 'event_definition_id' },
linkEventDefinition: { id: 'link_event_definition_id_0_0' },
process: {
id: '0',
intermediateCatchEvent: { id: 'event_id_0_0', source: ['event_definition_source_1_id', 'event_definition_source_2_id'], eventDefinitionRef: 'event_definition_id' },
intermediateCatchEvent: {
id: 'event_id_0_0',
source: ['event_definition_source_1_id', 'event_definition_source_2_id'],
eventDefinitionRef: 'link_event_definition_id_0_0',
},
},
BPMNDiagram: {
name: 'process 0',
Expand Down Expand Up @@ -2907,10 +2911,10 @@ describe('build json', () => {
definitions: {
targetNamespace: '',
collaboration: { id: 'collaboration_id_0' },
messageEventDefinition: { id: 'event_definition_id' },
messageEventDefinition: { id: 'message_event_definition_id_0_0' },
process: {
id: '0',
intermediateCatchEvent: { id: 'event_id_0_0', eventDefinitionRef: 'event_definition_id' },
intermediateCatchEvent: { id: 'event_id_0_0', eventDefinitionRef: 'message_event_definition_id_0_0' },
},
BPMNDiagram: {
name: 'process 0',
Expand Down Expand Up @@ -2945,10 +2949,10 @@ describe('build json', () => {
definitions: {
targetNamespace: '',
collaboration: { id: 'collaboration_id_0' },
linkEventDefinition: { id: 'event_definition_id' },
linkEventDefinition: { id: 'link_event_definition_id_0_0' },
process: {
id: '0',
intermediateThrowEvent: { id: 'event_id_0_0', target: 'event_definition_target_id', eventDefinitionRef: 'event_definition_id' },
intermediateThrowEvent: { id: 'event_id_0_0', target: 'event_definition_target_id', eventDefinitionRef: 'link_event_definition_id_0_0' },
},
BPMNDiagram: {
name: 'process 0',
Expand Down Expand Up @@ -2981,10 +2985,10 @@ describe('build json', () => {
definitions: {
targetNamespace: '',
collaboration: { id: 'collaboration_id_0' },
messageEventDefinition: { id: 'event_definition_id' },
messageEventDefinition: { id: 'message_event_definition_id_0_0' },
process: {
id: '0',
intermediateThrowEvent: { id: 'event_id_0_0', eventDefinitionRef: 'event_definition_id' },
intermediateThrowEvent: { id: 'event_id_0_0', eventDefinitionRef: 'message_event_definition_id_0_0' },
},
BPMNDiagram: {
name: 'process 0',
Expand Down

0 comments on commit 7f88cbc

Please sign in to comment.