From 397fb1c066ede6b491c922bc976c9e50247d469a Mon Sep 17 00:00:00 2001 From: thuva4 Date: Thu, 8 Feb 2018 14:41:05 +0530 Subject: Fix the authenticate=false in scenario fix authetication issue in scenario page add tests Change-Id: I5d1457c4fde7c803459352223b1dfb2f970212df Signed-off-by: thuva4 --- .../ui/components/scenarios/scenario/scenarioController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testapi/opnfv_testapi/ui/components/scenarios/scenario/scenarioController.js') 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; -- cgit 1.2.3-korg