Let tests work correctly even if calendar based escalations is calculated over midnight.
This commit is contained in:
parent
2ca17b913f
commit
6ae6ee44ba
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue