mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
In CGREvent changed Opts in APIOpts
This commit is contained in:
committed by
Dan Christian Bogos
parent
b573e12233
commit
32c234a6c7
@@ -122,7 +122,7 @@ func testRPCChargerSNoAttr(t *testing.T) {
|
||||
Event: map[string]interface{}{
|
||||
utils.AccountField: "1010",
|
||||
},
|
||||
Opts: map[string]interface{}{utils.OptsAttributesProcessRuns: 1.},
|
||||
APIOpts: map[string]interface{}{utils.OptsAttributesProcessRuns: 1.},
|
||||
}
|
||||
expErr := utils.NewErrServerError(rpcclient.ErrDisconnected).Error()
|
||||
var rply []*engine.ChrgSProcessEventReply
|
||||
@@ -145,7 +145,7 @@ func testRPCChargerSWithAttr(t *testing.T) {
|
||||
Event: map[string]interface{}{
|
||||
utils.AccountField: "1010",
|
||||
},
|
||||
Opts: map[string]interface{}{utils.OptsAttributesProcessRuns: 1.},
|
||||
APIOpts: map[string]interface{}{utils.OptsAttributesProcessRuns: 1.},
|
||||
}
|
||||
|
||||
processedEv := []*engine.ChrgSProcessEventReply{
|
||||
@@ -158,7 +158,7 @@ func testRPCChargerSWithAttr(t *testing.T) {
|
||||
"Account": "1010",
|
||||
"RunID": "CustomerCharges",
|
||||
},
|
||||
Opts: map[string]interface{}{
|
||||
APIOpts: map[string]interface{}{
|
||||
"*processRuns": 1.,
|
||||
"*subsys": "*chargers",
|
||||
},
|
||||
@@ -174,7 +174,7 @@ func testRPCChargerSWithAttr(t *testing.T) {
|
||||
"RequestType": "*none",
|
||||
"RunID": "raw",
|
||||
},
|
||||
Opts: map[string]interface{}{
|
||||
APIOpts: map[string]interface{}{
|
||||
"*processRuns": 1.,
|
||||
"*subsys": "*chargers",
|
||||
},
|
||||
@@ -190,7 +190,7 @@ func testRPCChargerSWithAttr(t *testing.T) {
|
||||
"RunID": "SupplierCharges",
|
||||
"Subject": "SUPPLIER1",
|
||||
},
|
||||
Opts: map[string]interface{}{
|
||||
APIOpts: map[string]interface{}{
|
||||
"*processRuns": 1.,
|
||||
"*subsys": "*chargers",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user