mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Revise NewRPCClient helper function
This commit is contained in:
committed by
Dan Christian Bogos
parent
89dfc3e3d0
commit
d4e4facc6b
@@ -113,11 +113,7 @@ func testTutorialStartEngine(t *testing.T) {
|
||||
}
|
||||
|
||||
func testTutorialRpcConn(t *testing.T) {
|
||||
var err error
|
||||
tutorialRpc, err = engine.NewRPCClient(tutorialCfg.ListenCfg()) // We connect over JSON so we can also troubleshoot if needed
|
||||
if err != nil {
|
||||
t.Fatal("Could not connect to rater: ", err.Error())
|
||||
}
|
||||
tutorialRpc = engine.NewRPCClient(t, tutorialCfg.ListenCfg())
|
||||
}
|
||||
|
||||
func testTutorialFromFolder(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user