mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
cfg: make sessions jsoncfg object fields camelcase
This commit is contained in:
committed by
Dan Christian Bogos
parent
292b97aa5b
commit
f0b65f0797
@@ -102,7 +102,7 @@ func testCapsRPCConn(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if capsBiRPC, err = utils.NewBiJSONrpcClient(capsCfg.SessionSCfg().ListenBijson,
|
||||
if capsBiRPC, err = utils.NewBiJSONrpcClient(capsCfg.SessionSCfg().ListenBiJSON,
|
||||
nil); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@ func testSessionSv1ItStartEngine(t *testing.T) {
|
||||
}
|
||||
|
||||
func testSessionSv1ItRpcConn(t *testing.T) {
|
||||
dummyClnt, err := utils.NewBiJSONrpcClient(sSv1Cfg2.SessionSCfg().ListenBijson,
|
||||
dummyClnt, err := utils.NewBiJSONrpcClient(sSv1Cfg2.SessionSCfg().ListenBiJSON,
|
||||
nil)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -130,7 +130,7 @@ func testSessionSv1ItRpcConn(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if sSv1BiRpc2, err = utils.NewBiJSONrpcClient(sSv1Cfg2.SessionSCfg().ListenBijson,
|
||||
if sSv1BiRpc2, err = utils.NewBiJSONrpcClient(sSv1Cfg2.SessionSCfg().ListenBiJSON,
|
||||
srv); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
@@ -162,7 +162,7 @@ func testSSv1ItStartEngine(t *testing.T) {
|
||||
}
|
||||
|
||||
func testSSv1ItRpcConn(t *testing.T) {
|
||||
dummyClnt, err := utils.NewBiJSONrpcClient(sSv1Cfg.SessionSCfg().ListenBijson,
|
||||
dummyClnt, err := utils.NewBiJSONrpcClient(sSv1Cfg.SessionSCfg().ListenBiJSON,
|
||||
nil)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -171,7 +171,7 @@ func testSSv1ItRpcConn(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if sSv1BiRpc, err = utils.NewBiJSONrpcClient(sSv1Cfg.SessionSCfg().ListenBijson,
|
||||
if sSv1BiRpc, err = utils.NewBiJSONrpcClient(sSv1Cfg.SessionSCfg().ListenBiJSON,
|
||||
srv); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user