diff --git a/client/src/core-components/__tests__/form-test.js b/client/src/core-components/__tests__/form-test.js index f8d31de3..016ed26e 100644 --- a/client/src/core-components/__tests__/form-test.js +++ b/client/src/core-components/__tests__/form-test.js @@ -5,7 +5,7 @@ const FormField = ReactMock(); // COMPONENT const Form = requireUnit('core-components/form', { - 'lib-app/validations/validations-factory': ValidationFactoryMock, + 'lib-app/validations/validator-factory': ValidationFactoryMock, 'core-components/form-field': FormField, 'core-components/text-editor': TextEditorMock }); diff --git a/client/src/core-components/form.js b/client/src/core-components/form.js index e7387e03..cd1a6642 100644 --- a/client/src/core-components/form.js +++ b/client/src/core-components/form.js @@ -3,7 +3,7 @@ import _ from 'lodash'; import classNames from 'classnames'; import {reactDFS, renderChildrenWithProps} from 'lib-core/react-dfs'; -import ValidationFactory from 'lib-app/validations/validations-factory'; +import ValidationFactory from 'lib-app/validations/validator-factory'; import FormField from 'core-components/form-field'; import TextEditor from 'core-components/text-editor'; diff --git a/client/src/lib-app/validations/validations-factory.js b/client/src/lib-app/validations/validator-factory.js similarity index 96% rename from client/src/lib-app/validations/validations-factory.js rename to client/src/lib-app/validations/validator-factory.js index fbd51097..fdd63284 100644 --- a/client/src/lib-app/validations/validations-factory.js +++ b/client/src/lib-app/validations/validator-factory.js @@ -23,4 +23,4 @@ class ValidatorFactory { } } -export default ValidationFactory; +export default ValidatorFactory;