Changes to Custom Validation in field.component.js

Change-Id: I88d5d28612219cb7030b4969cf7cd4548e301b5c
diff --git a/views/ngXosLib/xosHelpers/spec/ui/custom-validator.test.js b/views/ngXosLib/xosHelpers/spec/ui/custom-validator.test.js
index 76f41a9..c85c934 100644
--- a/views/ngXosLib/xosHelpers/spec/ui/custom-validator.test.js
+++ b/views/ngXosLib/xosHelpers/spec/ui/custom-validator.test.js
@@ -70,7 +70,7 @@
           scope.$digest();
           expect(scope.validator).toHaveBeenCalledWith('something');
           expect(input).toHaveClass('ng-invalid');
-          expect(input).toHaveClass('ng-invalid-custom-validation');
+          expect(input).toHaveClass('ng-invalid-custom');
         });
 
         it('should set the field valid', () => {
@@ -78,7 +78,7 @@
           scope.$digest();
           expect(scope.validator).toHaveBeenCalledWith('test');
           expect(input).not.toHaveClass('ng-invalid');
-          expect(input).not.toHaveClass('ng-invalid-custom-validation');
+          expect(input).not.toHaveClass('ng-invalid-custom');
         });
 
         describe('if the validation function return an array', () => {