Removed faulty test

This commit is contained in:
andronache
2021-05-28 13:06:59 +03:00
committed by Dan Christian Bogos
parent 09c44b6e77
commit ad0f291d26

View File

@@ -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)
}
}