diff --git a/test/lib/server/services/qualityControlFlag/QcFlagService.test.js b/test/lib/server/services/qualityControlFlag/QcFlagService.test.js index a532ec205c..763bca8325 100644 --- a/test/lib/server/services/qualityControlFlag/QcFlagService.test.js +++ b/test/lib/server/services/qualityControlFlag/QcFlagService.test.js @@ -277,7 +277,7 @@ module.exports = () => { await assert.rejects( () => qcFlagService.createForDataPass(qcFlagCreationParameters, relations), // eslint-disable-next-line max-len - new BadParameterError(`Given QC flag period (${new Date('2019-08-08 11:36:40').getTime()}, ${new Date('2019-08-09 05:40:00').getTime()}) is out of run trigger period (${(1565314200 - 45000) * 1000}, ${(1565314200 + 45000) * 1000})`), + new BadParameterError(`Given QC flag period (${new Date('2019-08-08 11:36:40').getTime()}, ${new Date('2019-08-09 05:40:00').getTime()}) is out of run trigger period (${new Date('2019-08-08 13:00:00').getTime()}, ${new Date('2019-08-09 14:00:00').getTime()})`), ); });