diff --git a/front/core/components/autocomplete/index.spec.js b/front/core/components/autocomplete/index.spec.js
index 7417ea2d8..847761179 100644
--- a/front/core/components/autocomplete/index.spec.js
+++ b/front/core/components/autocomplete/index.spec.js
@@ -3,9 +3,7 @@ describe('Component vnAutocomplete', () => {
let controller;
let data = {id: 1, name: 'Bruce Wayne'};
- beforeEach(angular.mock.module('vnCore', $translateProvider => {
- $translateProvider.translations('en', {});
- }));
+ beforeEach(ngModule('vnCore'));
beforeEach(inject(($compile, $rootScope) => {
$element = $compile(`