mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 13:19:53 +05:00
fix wrong api reply type in test
This commit is contained in:
committed by
Dan Christian Bogos
parent
ea3ebcc6dd
commit
14516b69e5
@@ -1001,7 +1001,7 @@ func testChargersBlockerGetChargersForEvent(t *testing.T) {
|
||||
RunID: "run2",
|
||||
},
|
||||
}
|
||||
var reply utils.ChargerProfile
|
||||
var reply []*utils.ChargerProfile
|
||||
if err := chargersRPC.Call(context.Background(), utils.ChargerSv1GetChargersForEvent, args, &reply); err != nil {
|
||||
t.Error(err)
|
||||
} else if !reflect.DeepEqual(reply, expected) {
|
||||
|
||||
Reference in New Issue
Block a user