diff options
author | 2022-02-23 18:49:20 +0000 | |
---|---|---|
committer | 2022-02-25 10:53:50 +0000 | |
commit | 62bbf4d0aa4831f6bdd461011b71a4bb94724517 (patch) | |
tree | 0b9c4069e05183905f1ed2c0f1ae022dc5f93fee /gui-editors/gui-editor-apex/src/main/webapp/js/__test__/ApexPolicyEditForm_State.test.js | |
parent | 6e3d850c1b6efda12a70a111c8734972c99e3db5 (diff) |
Code coverage apex editor
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: Ib3043be521c37efe60e96b7917077db8c70b1645
Diffstat (limited to 'gui-editors/gui-editor-apex/src/main/webapp/js/__test__/ApexPolicyEditForm_State.test.js')
-rw-r--r-- | gui-editors/gui-editor-apex/src/main/webapp/js/__test__/ApexPolicyEditForm_State.test.js | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gui-editors/gui-editor-apex/src/main/webapp/js/__test__/ApexPolicyEditForm_State.test.js b/gui-editors/gui-editor-apex/src/main/webapp/js/__test__/ApexPolicyEditForm_State.test.js index 8b73319..24df8d0 100644 --- a/gui-editors/gui-editor-apex/src/main/webapp/js/__test__/ApexPolicyEditForm_State.test.js +++ b/gui-editors/gui-editor-apex/src/main/webapp/js/__test__/ApexPolicyEditForm_State.test.js @@ -62,14 +62,22 @@ const policy = { version: 'testVersion', uuid: 'testUUID' }, - uuid: 'testUUID' + uuid: 'testUUID', + state: [{ key: 'testName1', value: '1'}, { key: 'testName2',value: '2'}] } const state = { trigger: { name: 'testName', version: '0.0.1', - } + }, + defaultTask: { + name: 'deftestName', + version: '0.0.2', + }, + taskReferences: [{key: { name: 'testName1',version: '1'}, key: { name: 'testName2',version: '2'}}], + stateOutputs : [{key: { name: 'testName1',version: '1'}, key: { name: 'testName2',version: '2'}}], + stateFinalizerLogicMap : [{key: {value: { logic: 'testName1', logicFlavour : '1'}}, key: {value: { logic: 'testName1', logicFlavour : '1'}}}] } const parentTBody = document.createElement('table'); |