mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 02:26:26 +05:00
small test fix
This commit is contained in:
@@ -110,7 +110,7 @@ func TestResponderGetDerivedMaxSessionTime(t *testing.T) {
|
||||
attrs := &utils.AttrDerivedChargers{Tenant: testTenant, Category: "call", Direction: "*out", Account: "dan", Subject: "dan"}
|
||||
if err := rsponder.GetDerivedChargers(attrs, dcs); err != nil {
|
||||
t.Error("Unexpected error", err.Error())
|
||||
} else if !reflect.DeepEqual(dcs, charger1) {
|
||||
} else if !reflect.DeepEqual(dcs.Chargers, charger1.Chargers) {
|
||||
t.Errorf("Expecting: %+v, received: %+v ", charger1, dcs)
|
||||
}
|
||||
if err := rsponder.GetDerivedMaxSessionTime(cdr, &maxSessionTime); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user