Let tests work correctly even if calendar based escalations is calculated over midnight.

This commit is contained in:
Martin Edenhofer 2019-05-14 15:34:41 +02:00 committed by Thorsten Eckel
parent 2ca17b913f
commit 6ae6ee44ba

View file

@ -46,31 +46,31 @@ FactoryBot.define do
{ {
mon: { mon: {
active: true, active: true,
timeframes: [ ['00:00', '23:59'] ] timeframes: [ ['00:00', '24:00'] ]
}, },
tue: { tue: {
active: true, active: true,
timeframes: [ ['00:00', '23:59'] ] timeframes: [ ['00:00', '24:00'] ]
}, },
wed: { wed: {
active: true, active: true,
timeframes: [ ['00:00', '23:59'] ] timeframes: [ ['00:00', '24:00'] ]
}, },
thu: { thu: {
active: true, active: true,
timeframes: [ ['00:00', '23:59'] ] timeframes: [ ['00:00', '24:00'] ]
}, },
fri: { fri: {
active: true, active: true,
timeframes: [ ['00:00', '23:59'] ] timeframes: [ ['00:00', '24:00'] ]
}, },
sat: { sat: {
active: true, active: true,
timeframes: [ ['00:00', '23:59'] ] timeframes: [ ['00:00', '24:00'] ]
}, },
sun: { sun: {
active: true, active: true,
timeframes: [ ['00:00', '23:59'] ] timeframes: [ ['00:00', '24:00'] ]
}, },
} }
end end