From f11f26d23dabde24b0bcd67ac81b094aa89eb6c9 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Fri, 10 Nov 2017 15:43:35 -0800 Subject: Remove 'utils/test' Directory and update INFO utils/test has been migrated to the releng-testresults repo Change-Id: If14a30e6abed1424d1e00b0fae048b7d869ec99b Signed-off-by: Trevor Bramwell --- .../ui/auth-failure/authFailureController.js | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 utils/test/testapi/opnfv_testapi/ui/auth-failure/authFailureController.js (limited to 'utils/test/testapi/opnfv_testapi/ui/auth-failure') diff --git a/utils/test/testapi/opnfv_testapi/ui/auth-failure/authFailureController.js b/utils/test/testapi/opnfv_testapi/ui/auth-failure/authFailureController.js deleted file mode 100644 index 29d1d70fa..000000000 --- a/utils/test/testapi/opnfv_testapi/ui/auth-failure/authFailureController.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function () { - 'use strict'; - - angular - .module('testapiApp') - .controller('AuthFailureController', AuthFailureController); - - AuthFailureController.$inject = ['$location', '$state', 'raiseAlert']; - /** - * TestAPI Auth Failure Controller - * This controller handles messages from TestAPI API if user auth fails. - */ - function AuthFailureController($location, $state, raiseAlert) { - var ctrl = this; - ctrl.message = $location.search().message; - raiseAlert('danger', 'Authentication Failure:', ctrl.message); - $state.go('home'); - } -})(); -- cgit