mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 05:09:54 +05:00
Removed faulty test
This commit is contained in:
committed by
Dan Christian Bogos
parent
09c44b6e77
commit
ad0f291d26
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user