summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/pages/app/scripts/factory
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2017-08-21 08:51:05 +0000
committerchenjiankun <chenjiankun1@huawei.com>2017-08-21 09:01:47 +0000
commitf1a4e314f167782aee1dfff803290eab7745c9ca (patch)
tree8ced4e11c1e46dd87ea32b2b19d4d09ef39abad7 /utils/test/reporting/pages/app/scripts/factory
parent117c48ea667348525b8b8a35d8bc8e2f8067dcd5 (diff)
Landing page adoption
Since testapi have done some changes on scenarios api, so landing page should do some adoption. Change-Id: Ib5d1df03e2c50c7d6c038200d97f2057b90e48af Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'utils/test/reporting/pages/app/scripts/factory')
-rw-r--r--utils/test/reporting/pages/app/scripts/factory/table.factory.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/test/reporting/pages/app/scripts/factory/table.factory.js b/utils/test/reporting/pages/app/scripts/factory/table.factory.js
index f0af34fb2..e715c5c28 100644
--- a/utils/test/reporting/pages/app/scripts/factory/table.factory.js
+++ b/utils/test/reporting/pages/app/scripts/factory/table.factory.js
@@ -28,7 +28,7 @@ angular.module('opnfvApp')
}
});
},
- getScenario: function() {
+ getScenario: function(data) {
var config = {
headers: {
@@ -36,7 +36,7 @@ angular.module('opnfvApp')
}
}
- return $http.post(BASE_URL + '/landing-page/scenarios', {}, config);
+ return $http.post(BASE_URL + '/landing-page/scenarios', data, config);
},