mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Prolong expiration date for balance in unit test
This commit is contained in:
committed by
Dan Christian Bogos
parent
22d7ecf784
commit
a440c18c0c
@@ -3868,17 +3868,17 @@ func TestRemoveExpiredErrs(t *testing.T) {
|
||||
&Balance{
|
||||
Value: 10,
|
||||
DestinationIDs: utils.NewStringMap("NAT", "RET"),
|
||||
ExpirationDate: time.Date(2023, time.November, 11, 22, 39, 0, 0, time.UTC),
|
||||
ExpirationDate: time.Date(2050, time.November, 11, 22, 39, 0, 0, time.UTC),
|
||||
},
|
||||
&Balance{
|
||||
Value: 10,
|
||||
DestinationIDs: utils.NewStringMap("NAT", "RET"),
|
||||
ExpirationDate: time.Date(2023, time.November, 15, 22, 39, 0, 0, time.UTC),
|
||||
ExpirationDate: time.Date(2050, time.November, 15, 22, 39, 0, 0, time.UTC),
|
||||
},
|
||||
&Balance{
|
||||
Value: 10,
|
||||
DestinationIDs: utils.NewStringMap("NAT", "RET"),
|
||||
ExpirationDate: time.Date(2024, time.November, 11, 22, 39, 0, 0, time.UTC),
|
||||
ExpirationDate: time.Date(2050, time.November, 11, 22, 39, 0, 0, time.UTC),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ func TestAMQPER(t *testing.T) {
|
||||
rdrExit = make(chan struct{}, 1)
|
||||
|
||||
if rdr, err = NewAMQPER(cfg, 1, rdrEvents, make(chan *erEvent, 1),
|
||||
rdrErr, new(engine.FilterS), rdrExit); err != nil {
|
||||
rdrErr, new(engine.FilterS), nil, rdrExit); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
connection, err := amqp.Dial("amqp://guest:guest@localhost:5672/")
|
||||
|
||||
Reference in New Issue
Block a user