summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/test-utils/factories/licenseModel
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/test-utils/factories/licenseModel')
-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()