<commit_before>'use strict';

describe('angularBasicAuthExample.login module', function() {
  var scope;

  // Mock unavailable modules
  angular.module('ngMessages', []);
  angular.module('angularBasicAuthExample.user', []);

  beforeEach(module('angularBasicAuthExample.login'));

  describe('login controller', function() {
    it('should ....', inject(function($rootScope, $controller) {
      scope = $rootScope.$new();
      var user = {login: function() {}};
      var parameters = {
        $scope: scope,
        User: user
      };
      var loginCtrl = $controller('LoginCtrl', parameters);
      expect(loginCtrl).toBeDefined();
    }));

  });
});<commit_msg>Fix test to work with ngNotify<commit_after>'use strict';

describe('angularBasicAuthExample.login module', function() {
  var scope;

  // Mock unavailable modules
  angular.module('ngMessages', []);
  angular.module('ngNotify', []);
  angular.module('angularBasicAuthExample.user', []);

  beforeEach(module('angularBasicAuthExample.login'));

  describe('login controller', function() {
    it('should ....', inject(function($rootScope, $controller) {
      scope = $rootScope.$new();
      var user = {login: function() {}};
      var parameters = {
        $scope: scope,
        ngNotify: null,
        User: user
      };
      var loginCtrl = $controller('LoginCtrl', parameters);
      expect(loginCtrl).toBeDefined();
    }));

  });
});
{'fraction_non_alphanumeric': 0.16842847075405215, 'fraction_numerical': 0.0, 'mean_word_length': 3.5954692556634305, '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': '5795357', 'n_tokens_mistral': 403, 'n_tokens_neox': 390, 'n_words': 80}