diff --git a/client/core/src/lib/validator.js b/client/core/src/lib/validator.js index 580f1fc5e8..704961318e 100644 --- a/client/core/src/lib/validator.js +++ b/client/core/src/lib/validator.js @@ -14,7 +14,7 @@ export const validators = { min: conf.min || conf.is, max: conf.max || conf.is }; - let val = String(value); + let val = value ? String(value) : ''; if (!validator.isLength(val, options)) { if (conf.is) { throw new Error(`Value should be ${conf.is} characters long`); diff --git a/e2e/paths/09_add_greuge.spec.js b/e2e/paths/09_add_greuge.spec.js index 838f6dcddf..0846ab5aa2 100644 --- a/e2e/paths/09_add_greuge.spec.js +++ b/e2e/paths/09_add_greuge.spec.js @@ -7,7 +7,7 @@ const moduleAccessViewHashURL = '#!/'; jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000; -fdescribe('Add greuge path', () => { +describe('Add greuge path', () => { describe('warm up', () => { it('should warm up login and fixtures', done => { nightmare diff --git a/services/db/Dockerfile b/services/db/Dockerfile index ba6c150b10..075a63b516 100644 --- a/services/db/Dockerfile +++ b/services/db/Dockerfile @@ -1,6 +1,7 @@ FROM mysql:5.6.37 ENV MYSQL_ALLOW_EMPTY_PASSWORD yes +ENV TZ GMT-1 COPY localDB01StructureAccount.sql /docker-entrypoint-initdb.d COPY localDB02StructureVn2008.sql /docker-entrypoint-initdb.d diff --git a/services/production/common/models/ticket-state.js b/services/production/common/models/ticket-state.js index 4c320c203f..2580d98db2 100644 --- a/services/production/common/models/ticket-state.js +++ b/services/production/common/models/ticket-state.js @@ -1,4 +1,4 @@ module.exports = function(Self) { require('../methods/ticket-state/change-state.js')(Self); -}; \ No newline at end of file +};