Merge pull request #2269 from adragusin/master

Renamed ActivationStart to ActivationTime
This commit is contained in:
Dan Christian Bogos
2020-07-06 20:26:15 +02:00
committed by GitHub
12 changed files with 298 additions and 194 deletions

View File

@@ -39,9 +39,9 @@ func TestOrderRatesOnIntervals(t *testing.T) {
}
rt0.Compile()
rtChristmas := &engine.Rate{
ID: "RT_CHRISTMAS",
ActivationStart: "* * 24 12 *",
Weight: 50,
ID: "RT_CHRISTMAS",
ActivationTime: "* * 24 12 *",
Weight: 50,
IntervalRates: []*engine.IntervalRate{
{
IntervalStart: time.Duration(0),