mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Remove test content made redundant by go version update
This commit is contained in:
committed by
Dan Christian Bogos
parent
d8ad760dbb
commit
8fe3a74998
@@ -26,7 +26,6 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/cgrates/cgrates/agents"
|
||||
"github.com/cgrates/cgrates/analyzers"
|
||||
"github.com/cgrates/cgrates/config"
|
||||
"github.com/cgrates/cgrates/engine"
|
||||
@@ -88,9 +87,6 @@ func TestRegisterHttpFunc(t *testing.T) {
|
||||
|
||||
rcv.RpcRegisterName(utils.EmptyString, handler)
|
||||
|
||||
httpAgent := agents.NewHTTPAgent(nil, []string{}, nil, utils.EmptyString, utils.EmptyString, utils.EmptyString, nil)
|
||||
rcv.RegisterHttpHandler("invalid_pattern", httpAgent)
|
||||
|
||||
if err := os.RemoveAll(cfgDflt.AnalyzerSCfg().DBPath); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -103,8 +99,6 @@ func TestRegisterProfiler(t *testing.T) {
|
||||
caps := engine.NewCaps(0, utils.MetaBusy)
|
||||
rcv := NewServer(caps)
|
||||
|
||||
registerProfiler("test_prefix", rcv.httpMux)
|
||||
|
||||
rcv.RegisterProfiler("/test_prefix")
|
||||
|
||||
rcv.StopBiRPC()
|
||||
|
||||
Reference in New Issue
Block a user