From bce898678176acd991d88bd5b6e1f5ebd2083184 Mon Sep 17 00:00:00 2001 From: Arielk Date: Wed, 30 May 2018 14:52:00 +0300 Subject: removed fields from LA EP and LKG Change-Id: I20b9d81721125ac19c2910a36e11290c3fda27bd Issue-ID: SDC-1381 Signed-off-by: Arielk --- .../test-utils/factories/licenseModel/EntitlementPoolFactories.js | 5 ++--- .../test-utils/factories/licenseModel/LicenseAgreementFactories.js | 5 +---- .../test-utils/factories/licenseModel/LicenseKeyGroupFactories.js | 5 +---- 3 files changed, 4 insertions(+), 11 deletions(-) (limited to 'openecomp-ui/test-utils') diff --git a/openecomp-ui/test-utils/factories/licenseModel/EntitlementPoolFactories.js b/openecomp-ui/test-utils/factories/licenseModel/EntitlementPoolFactories.js index a28245e8bc..f997a64f75 100644 --- a/openecomp-ui/test-utils/factories/licenseModel/EntitlementPoolFactories.js +++ b/openecomp-ui/test-utils/factories/licenseModel/EntitlementPoolFactories.js @@ -25,10 +25,9 @@ Factory.define('EntitlementPoolBaseFactory') Factory.define('EntitlementPoolExtendedBaseFactory') .extend('EntitlementPoolBaseFactory') .attrs({ - thresholdValue: 75, + thresholdValue: 76, thresholdUnits: '%', - increments: 'string', - operationalScope: {'choices': ['Other'], 'other': 'blabla'}, + increments: 'string', startDate: (new Date()).getTime(), expiryDate: (new Date()).getTime() }); diff --git a/openecomp-ui/test-utils/factories/licenseModel/LicenseAgreementFactories.js b/openecomp-ui/test-utils/factories/licenseModel/LicenseAgreementFactories.js index 0c91456123..ffd8a7570f 100644 --- a/openecomp-ui/test-utils/factories/licenseModel/LicenseAgreementFactories.js +++ b/openecomp-ui/test-utils/factories/licenseModel/LicenseAgreementFactories.js @@ -27,10 +27,7 @@ Factory.define('LicenseAgreementBaseFactory') }); Factory.define('LicenseAgreementExtendedBaseFactory') - .extend('LicenseAgreementBaseFactory') - .attrs({ - requirementsAndConstrains: 'req_and_constraints_ADDED_LA' - }); + .extend('LicenseAgreementBaseFactory'); export const LicenseAgreementListItemFactory = new Factory() .extend('LicenseAgreementExtendedBaseFactory') diff --git a/openecomp-ui/test-utils/factories/licenseModel/LicenseKeyGroupFactories.js b/openecomp-ui/test-utils/factories/licenseModel/LicenseKeyGroupFactories.js index 50890dd7ec..dc71237e9a 100644 --- a/openecomp-ui/test-utils/factories/licenseModel/LicenseKeyGroupFactories.js +++ b/openecomp-ui/test-utils/factories/licenseModel/LicenseKeyGroupFactories.js @@ -20,10 +20,7 @@ Factory.define('LicenseKeyGroupBaseFactory') .attrs({ name: 'License Key Group', description: 'wewe', - type: 'Unique', - operationalScope: { - choices: ['Data_Center'] - } + type: 'Unique' }); export const LicenseKeyGroupListItemFactory = new Factory() -- cgit 1.2.3-korg