diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-08-21 08:51:05 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2017-08-21 09:01:47 +0000 |
commit | f1a4e314f167782aee1dfff803290eab7745c9ca (patch) | |
tree | 8ced4e11c1e46dd87ea32b2b19d4d09ef39abad7 /utils/test/reporting/pages/app/scripts/factory | |
parent | 117c48ea667348525b8b8a35d8bc8e2f8067dcd5 (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.js | 4 |
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); }, |