<commit_before>
describe('LoginControl', function() {
    var $scope = null;
    var $location = null;
    var $notification = null;
    var $translate = null;
    var authService = null;

    beforeEach(module('controlplaneTest'));
    beforeEach(module(authServiceMock));
    beforeEach(module(miscUtilsMock));
    beforeEach(module(zenNotifyMock));

    beforeEach(inject(function($injector) {
        $scope = $injector.get('$rootScope').$new();
        $location = $injector.get('$location');
        $notification = $injector.get('$notification');
        $translate = $injector.get('$translate');
        authService = $injector.get('authService');

        var $controller = $injector.get('$controller');
        var ctrl = $controller('LoginController', {
            $scope: $scope,
            $location: $location,
            $notification: $notification,
            $translate: $translate,
            authService: authService
        });

    }));
<commit_msg>fix ui test<commit_after>
describe('LoginControl', function() {
    var $scope = null;
    var $location = null;
    var $notification = null;
    var $translate = null;
    var authService = null;
    var resourcesFactory = null;

    beforeEach(module('controlplaneTest'));
    beforeEach(module(authServiceMock));
    beforeEach(module(miscUtilsMock));
    beforeEach(module(zenNotifyMock));

    beforeEach(inject(function($injector) {
        $scope = $injector.get('$rootScope').$new();
        $location = $injector.get('$location');
        $notification = $injector.get('$notification');
        $translate = $injector.get('$translate');
        authService = $injector.get('authService');
        resourcesFactory = $injector.get("resourcesFactory");

        var $controller = $injector.get('$controller');
        var ctrl = $controller('LoginController', {
            $scope: $scope,
            $location: $location,
            $notification: $notification,
            $translate: $translate,
            authService: authService,
            resourcesFactory: resourcesFactory
        });

    }));

{'fraction_non_alphanumeric': 0.14429049211657907, 'fraction_numerical': 0.0, 'mean_word_length': 2.9734345351043645, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7046300', 'n_tokens_mistral': 567, 'n_tokens_neox': 556, 'n_words': 107}