mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 15:18:44 +05:00
Revise NewRPCClient helper function
This commit is contained in:
committed by
Dan Christian Bogos
parent
89dfc3e3d0
commit
d4e4facc6b
@@ -108,10 +108,7 @@ func testTutStopEngine(t *testing.T) {
|
||||
}
|
||||
|
||||
func testTutRpcConn(t *testing.T) {
|
||||
var err error
|
||||
if tutRpc, err = engine.NewRPCClient(tutCfg.ListenCfg()); err != nil {
|
||||
t.Fatal("could not connect to rater: ", err.Error())
|
||||
}
|
||||
tutRpc = engine.NewRPCClient(t, tutCfg.ListenCfg())
|
||||
}
|
||||
|
||||
func testTutFromFolder(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user