summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/components/scenarios/scenario/scenarioController.js
diff options
context:
space:
mode:
authorthuva4 <tharma.thuva@gmail.com>2018-02-08 14:41:05 +0530
committerThuvarakan Tharmarajasingam <tharma.thuva@gmail.com>2018-03-12 15:25:45 +0000
commit397fb1c066ede6b491c922bc976c9e50247d469a (patch)
tree6950e9ab1f08012228579e9516a5e96b44fccf34 /testapi/opnfv_testapi/ui/components/scenarios/scenario/scenarioController.js
parent5e37774a35b9bff0a8c5c6c81f34e8075531c3a0 (diff)
Fix the authenticate=false in scenario
fix authetication issue in scenario page add tests Change-Id: I5d1457c4fde7c803459352223b1dfb2f970212df Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/scenarios/scenario/scenarioController.js')
-rw-r--r--testapi/opnfv_testapi/ui/components/scenarios/scenario/scenarioController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/testapi/opnfv_testapi/ui/components/scenarios/scenario/scenarioController.js b/testapi/opnfv_testapi/ui/components/scenarios/scenario/scenarioController.js
index 53eb13a..9935649 100644
--- a/testapi/opnfv_testapi/ui/components/scenarios/scenario/scenarioController.js
+++ b/testapi/opnfv_testapi/ui/components/scenarios/scenario/scenarioController.js
@@ -21,7 +21,7 @@
ScenarioController.$inject = [
'$scope', '$http', '$filter', '$state', '$window', '$uibModal', 'testapiApiUrl','raiseAlert',
- 'confirmModal'
+ 'confirmModal', 'authenticate'
];
/**
@@ -30,7 +30,7 @@
* through Scenario declared in TestAPI.
*/
function ScenarioController($scope, $http, $filter, $state, $window, $uibModal, testapiApiUrl,
- raiseAlert, confirmModal) {
+ raiseAlert, confirmModal, authenticate) {
var ctrl = this;
ctrl.name = $state.params['name'];
ctrl.url = testapiApiUrl + '/scenarios?name=' + ctrl.name;