From 091edfdac90f66d91caff1b93131f99ba74f9aeb Mon Sep 17 00:00:00 2001 From: svishnev Date: Mon, 19 Mar 2018 12:15:19 +0200 Subject: ui support for archive items Issue-ID: SDC-1088 Change-Id: I836e4896a8ec6bb065f9d2571f514916ccf6759f Signed-off-by: svishnev --- .../test/softwareProduct/creation/SoftwareProductCreation.test.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'openecomp-ui/test/softwareProduct/creation/SoftwareProductCreation.test.js') diff --git a/openecomp-ui/test/softwareProduct/creation/SoftwareProductCreation.test.js b/openecomp-ui/test/softwareProduct/creation/SoftwareProductCreation.test.js index 51db931a9a..20ca17d3d0 100644 --- a/openecomp-ui/test/softwareProduct/creation/SoftwareProductCreation.test.js +++ b/openecomp-ui/test/softwareProduct/creation/SoftwareProductCreation.test.js @@ -31,6 +31,8 @@ describe('Software Product Creation Module Tests', function() { it ('should return empty data', () => { let state = { softwareProductList: [], + finalizedSoftwareProductList: [], + archivedSoftwareProductList: [], softwareProduct: { softwareProductCreation: { data: {} @@ -46,6 +48,8 @@ describe('Software Product Creation Module Tests', function() { it ('should return vsp names list', () => { let state = { + finalizedSoftwareProductList: [], + archivedSoftwareProductList: [], softwareProductList: [{ name: 'vsp1', id: 'vsp1_id' @@ -73,6 +77,8 @@ describe('Software Product Creation Module Tests', function() { let state = { softwareProductList: [], + finalizedSoftwareProductList: [], + archivedSoftwareProductList: [], softwareProduct: { softwareProductCreation: SoftwareProductCreationFactory.build(), softwareProductCategories: CategoryWithSubFactory.buildList({}, {quantity: 2}) @@ -97,6 +103,8 @@ describe('Software Product Creation Module Tests', function() { let finalizedLicenseModelList = FinalizedLicenseModelFactory.buildList(3); let state = { softwareProductList: [], + finalizedSoftwareProductList: [], + archivedSoftwareProductList: [], softwareProduct: { softwareProductCreation: SoftwareProductCreationFactoryWithSelectedVendor.build({selectedVendorId: finalizedLicenseModelList[0].id}), softwareProductCategories: CategoryWithSubFactory.buildList({}, {quantity: 2}) -- cgit 1.2.3-korg