fix wrong api reply type in test

This commit is contained in:
ionutboangiu
2025-03-25 15:30:11 +02:00
committed by Dan Christian Bogos
parent ea3ebcc6dd
commit 14516b69e5

View File

@@ -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) {