mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
fix integration test errors after constant variable rename
This commit is contained in:
committed by
Dan Christian Bogos
parent
f28c62f7ad
commit
582cb31de6
@@ -699,7 +699,7 @@ func testResourceSCheckThresholdAfterResourceAllocate(t *testing.T) {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
expBody := `{"*opts":{"*actProfileIDs":["actPrfID"],"*eventType":"ResourceUpdate","*rsUnits":1,"*rsUsageID":"RU_1","*thdProfileIDs":["THD_1"]},"*req":{"EventType":"ResourceUpdate","ResourceID":"RES_1","Usage":1}}`
|
expBody := `{"*opts":{"*actProfileIDs":["actPrfID"],"*eventType":"ResourceUpdate","*resUnits":1,"*rsUsageID":"RU_1","*thdProfileIDs":["THD_1"]},"*req":{"EventType":"ResourceUpdate","ResourceID":"RES_1","Usage":1}}`
|
||||||
if err := rsRPC.Call(context.Background(), utils.ResourceSv1AllocateResources,
|
if err := rsRPC.Call(context.Background(), utils.ResourceSv1AllocateResources,
|
||||||
argsRU, &reply); err != nil {
|
argsRU, &reply); err != nil {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user