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: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
tue: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
wed: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
thu: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
fri: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
sat: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
sun: {
active: true,
timeframes: [ ['00:00', '23:59'] ]
timeframes: [ ['00:00', '24:00'] ]
},
}
end