summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test/softwareProduct/creation
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-03-19 12:15:19 +0200
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>2018-03-20 07:51:05 +0000
commit091edfdac90f66d91caff1b93131f99ba74f9aeb (patch)
treea6a24fc4a295b7f804aeb2a2211e58b38bbf922a /openecomp-ui/test/softwareProduct/creation
parentfefa3e408f77289594e47edc878d1bee61fca90b (diff)
ui support for archive items
Issue-ID: SDC-1088 Change-Id: I836e4896a8ec6bb065f9d2571f514916ccf6759f Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui/test/softwareProduct/creation')
-rw-r--r--openecomp-ui/test/softwareProduct/creation/SoftwareProductCreation.test.js8
1 files changed, 8 insertions, 0 deletions
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})