diff options
author | aribeiro <anderson.ribeiro@est.tech> | 2021-07-12 15:10:19 +0100 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2021-07-23 15:43:41 +0000 |
commit | cba52c9e6c67ae2ee723c76f0c9ed165b657df63 (patch) | |
tree | b0f8a2abdd105caa0560c6f0fa278b33d50a2c90 /openecomp-ui/test/softwareProduct/details/test.js | |
parent | a527fdac8996e4022879f1a871864ed49cf18325 (diff) |
Fix security vulnerabilities
Issue-ID: SDC-3634
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I2ad864179cea8021773a9ea80953d995d75d36d0
Diffstat (limited to 'openecomp-ui/test/softwareProduct/details/test.js')
-rw-r--r-- | openecomp-ui/test/softwareProduct/details/test.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openecomp-ui/test/softwareProduct/details/test.js b/openecomp-ui/test/softwareProduct/details/test.js index 60506243ff..92390f61ef 100644 --- a/openecomp-ui/test/softwareProduct/details/test.js +++ b/openecomp-ui/test/softwareProduct/details/test.js @@ -67,8 +67,8 @@ describe('Software Product Details Module Tests', function () { await SoftwareProductActionHelper.fetchSoftwareProductList(store.dispatch); await SoftwareProductActionHelper.fetchFinalizedSoftwareProductList(store.dispatch); await SoftwareProductActionHelper.fetchArchivedSoftwareProductList(store.dispatch); - - expect(store.getState()).toEqual(expectedStore); + + expect(store.getState()).toEqual(expectedStore); }); it('Add Software Product', () => { @@ -116,7 +116,7 @@ describe('Software Product Details Module Tests', function () { 'description': { isValid: true, errorText: '', - validations: [{type: 'required', data: true}] + validations: [{type: 'validateName', data: true}, {type: 'required', data: true}] } }; const expectedFormName = forms.VENDOR_SOFTWARE_PRODUCT_DETAILS; |