aboutsummaryrefslogtreecommitdiffstats
path: root/cucumber-js-test-apis-ci/stepDefinitions/VF_steps.js
diff options
context:
space:
mode:
authorilanap <ilanap@amdocs.com>2019-01-30 12:50:04 +0200
committerAvi Gaffa <avi.gaffa@amdocs.com>2019-01-31 08:22:47 +0000
commite5d23233b1597d61bdd4eddbce7c94b272088fbc (patch)
tree30e562b7f03135708b5fd37bdb1512cc1db6e23c /cucumber-js-test-apis-ci/stepDefinitions/VF_steps.js
parentade7fd243fe41b5056ba63d3584ea616ee8bf808 (diff)
Fixes to tests
Change-Id: Ife159ce00d501c8f0e00dc3cbc5a9f447d2b8ca4 Issue-ID: SDC-2028 Signed-off-by: ilanap <ilanap@amdocs.com>
Diffstat (limited to 'cucumber-js-test-apis-ci/stepDefinitions/VF_steps.js')
-rw-r--r--cucumber-js-test-apis-ci/stepDefinitions/VF_steps.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/cucumber-js-test-apis-ci/stepDefinitions/VF_steps.js b/cucumber-js-test-apis-ci/stepDefinitions/VF_steps.js
index 3411a25fcb..a24a90b0a5 100644
--- a/cucumber-js-test-apis-ci/stepDefinitions/VF_steps.js
+++ b/cucumber-js-test-apis-ci/stepDefinitions/VF_steps.js
@@ -29,7 +29,7 @@ Then('I want to create a VF for this Item', function () {
return util.request(this.context, 'GET', '/vendor-software-products/' + this.context.item.id + '/versions/' + this.context.item.versionId).then(result => {
this.context.inputData = util.getJSONFromFile('resources/json/createVF.json');
// start replacing stuff
- this.context.inputData.contactId = this.context.headers['vf']["USER_ID"];
+ this.context.inputData.contactId = this.context.headers['catalog']["USER_ID"];
this.context.inputData.categories[0].uniqueId = result.data.category;
this.context.inputData.categories[0].subcategories[0].uniqueId = result.data.subCategory;
this.context.inputData.description = result.data.description;
@@ -37,7 +37,7 @@ Then('I want to create a VF for this Item', function () {
this.context.inputData.tags[0] = result.data.name;
this.context.inputData.vendorName = result.data.vendorName;
this.context.inputData.csarUUID = this.context.item.id;
- return util.request(this.context, 'POST', '/catalog/resources', this.context.inputData, false, 'vf');
+ return util.request(this.context, 'POST', '/catalog/resources', this.context.inputData, false, 'catalog');
});
});