From ad0f291d26a3eba01d1c0df3bb9ba08b1dc4a693 Mon Sep 17 00:00:00 2001 From: andronache Date: Fri, 28 May 2021 13:06:59 +0300 Subject: [PATCH] Removed faulty test --- apis/config_test.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/apis/config_test.go b/apis/config_test.go index 4c5852a2d..896306da5 100644 --- a/apis/config_test.go +++ b/apis/config_test.go @@ -22,7 +22,6 @@ import ( "reflect" "testing" - "github.com/cgrates/birpc/context" "github.com/cgrates/cgrates/config" ) @@ -36,15 +35,3 @@ func TestConfigNewConfigSv1(t *testing.T) { t.Errorf("\nExpected <%+v>, \nReceived <%+v>", expected, result) } } - -func TestConfigReloadConfigError(t *testing.T) { - cfgDflt := config.NewDefaultCGRConfig() - cfg := NewConfigSv1(cfgDflt) - var reply *string - args := &config.ReloadArgs{} - err := cfg.ReloadConfig(context.Background(), args, reply) - expected := "MANDATORY_IE_MISSING: [Path]" - if err == nil || err.Error() != expected { - t.Errorf("\nExpected <%+v>, \nReceived <%+v>", expected, err) - } -}