mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated config APIs and added integration tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
b0208c29f0
commit
ffcb95e2ca
@@ -128,7 +128,7 @@ func testReloadVerifyDisabledReaders(t *testing.T) {
|
||||
|
||||
func testReloadReloadConfigFromPath(t *testing.T) {
|
||||
var reply string
|
||||
if err := reloadRPC.Call(utils.ConfigSv1ReloadConfigFromPath, &config.ConfigReloadWithOpts{
|
||||
if err := reloadRPC.Call(utils.ConfigSv1ReloadConfig, &config.ConfigReloadArgs{
|
||||
Path: path.Join(*dataDir, "conf", "samples", "ers_reload", "first_reload"),
|
||||
Section: config.ERsJson,
|
||||
}, &reply); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user