summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test-utils
diff options
context:
space:
mode:
authorArielk <Ariel.Kenan@amdocs.com>2018-05-30 14:52:00 +0300
committerArielk <Ariel.Kenan@amdocs.com>2018-05-30 14:52:21 +0300
commitbce898678176acd991d88bd5b6e1f5ebd2083184 (patch)
tree5d69968c33a630425c5d860df69fa6224584de01 /openecomp-ui/test-utils
parent3b2267ad7c5cbbebfe1137ce27afd05bf82bb6ff (diff)
removed fields from LA EP and LKG
Change-Id: I20b9d81721125ac19c2910a36e11290c3fda27bd Issue-ID: SDC-1381 Signed-off-by: Arielk <Ariel.Kenan@amdocs.com>
Diffstat (limited to 'openecomp-ui/test-utils')
-rw-r--r--openecomp-ui/test-utils/factories/licenseModel/EntitlementPoolFactories.js5
-rw-r--r--openecomp-ui/test-utils/factories/licenseModel/LicenseAgreementFactories.js5
-rw-r--r--openecomp-ui/test-utils/factories/licenseModel/LicenseKeyGroupFactories.js5
3 files changed, 4 insertions, 11 deletions
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()