summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCasesController.js
diff options
context:
space:
mode:
authorthuva4 <tharma.thuva@gmail.com>2018-03-15 19:51:43 +0530
committerThuvarakan Tharmarajasingam <tharma.thuva@gmail.com>2018-03-16 12:22:10 +0000
commit7ee79fc3a89698479b442460099d2fadc3143380 (patch)
tree590b7aec5170b5ee4c91583366a850688030f7f1 /testapi/opnfv_testapi/ui/components/projects/project/testCases/testCasesController.js
parent5e75c8f4882a64efe80640a770f8a256b150eada (diff)
fix the authentication=false in testcases page
fix the authentication error in testcases page when authenticate=false + tests JIRA: RELENG-340 Change-Id: Ic2ad2a9676de46e9e6b8209750a5728eea9fa9ab Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/projects/project/testCases/testCasesController.js')
-rw-r--r--testapi/opnfv_testapi/ui/components/projects/project/testCases/testCasesController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCasesController.js b/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCasesController.js
index 9a865d3..4d6153e 100644
--- a/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCasesController.js
+++ b/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCasesController.js
@@ -21,7 +21,7 @@
TestCasesController.$inject = [
'$scope', '$http', '$filter', '$state', '$window', '$uibModal', 'testapiApiUrl','raiseAlert',
- 'confirmModal'
+ 'confirmModal', 'authenticate'
];
/**
@@ -31,7 +31,7 @@
* in them.
*/
function TestCasesController($scope, $http, $filter, $state, $window, $uibModal, testapiApiUrl,
- raiseAlert, confirmModal) {
+ raiseAlert, confirmModal, authenticate) {
var ctrl = this;
ctrl.loadDetails = loadDetails;
ctrl.name = $state.params['name'];